-
Notifications
You must be signed in to change notification settings - Fork 99
WIP: AUTH-543: OIDC/OAuth resource configuration #740
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: master
Are you sure you want to change the base?
Conversation
@liouk: This pull request references AUTH-543 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. |
e99d56a
to
46287b6
Compare
46287b6
to
ae635c0
Compare
Pre-merge testing has revealed some issues with this PR; turning this into WIP until fixed. /retitle WIP: AUTH-543: OIDC/OAuth resource configuration |
If OIDC is available then set replicas to 0, otherwise fall back to the default behaviour of counting nodes.
This allows the controller to proceed with the sync and eventually scale down the deployment to 0 replicas.
… external OIDC config is available
So that it can be stopped when auth type is OIDC.
…atus if external OIDC config is available
a1cf995
to
de9f965
Compare
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: liouk The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
@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 adjusts all OAuth related controllers to remove (or not) their operands depending on whether authentication is external OIDC or not.