-
Notifications
You must be signed in to change notification settings - Fork 145
CNTRLPLANE-947: Make oauthclients relatedObject dynamic depending on auth type #1048
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
@liouk: This pull request explicitly references no jira issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
@liouk: This pull request references CNTRLPLANE-947 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "4.21.0" version, but no target version was set. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
/jira refresh |
@liouk: This pull request references CNTRLPLANE-947 which is a valid jira issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
@liouk: This pull request references CNTRLPLANE-947 which is a valid jira issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
@liouk: This pull request references CNTRLPLANE-947 which is a valid jira issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: liouk, spadgett The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/retest-required AWS infra issue |
/retest-required |
1 similar comment
/retest-required |
/retest |
QA verification |
@liouk Checked on OCP cluster launched against the pr. When the cluster used openshift auth idp, 'oc get oauthclients' will return several existing oauthclients:
After configure keycloak external OIDC for the cluster, 'oc get oauthclients' will not return any resources:
If this is the expected check point for the pr update? |
@yanpzhan what you've described above is the expected behavior. When external OIDC is configured, the auth operator will take down all things OAuth related, including the oauthclients resource. Which is why this PR makes it so that the respective relatedObject is updated dynamically depending on auth type. |
/label qe-approved |
@liouk: This pull request references CNTRLPLANE-947 which is a valid jira issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
@yanpzhan: This PR has been marked as verified by In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
/retest |
QE Approver: |
/label px-approved |
didn't see anything jump out that seems to be user-facing! LGTM |
/label docs-approved |
/test e2e-aws-console |
@liouk: The following tests failed, say
Full PR test history. Your PR dashboard. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
This PR moves
oauthclients
operator relatedObject to the dynamic func as it depends on whether OAuth is configured or not (i.e. in OIDC, there is no oauthclients API).This will also prevent this cluster operators e2e test from failing when OIDC is configured.
Example failed run of conformance suite with OIDC configured: https://prow.ci.openshift.org/view/gs/test-platform-results/pr-logs/pull/openshift_release/66981/rehearse-66981-periodic-ci-openshift-cluster-authentication-operator-release-4.21-periodics-e2e-aws-external-oidc-conformance-parallel-techpreview/1970076671268622336