-
Notifications
You must be signed in to change notification settings - Fork 600
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove OIDC service account, when OIDC feature is disabled again (#7570)
* oidc feature disabled, remove serviceaccount Signed-off-by: pawarpranav83 <[email protected]> * directly create serviceAccount and place it in listers Signed-off-by: pawarpranav83 <[email protected]> * owner ref check, serviceaccount created by user is not deleted Signed-off-by: pawarpranav83 <[email protected]> * added test scenario when auth-oidc enabled then disabled Signed-off-by: pawarpranav83 <[email protected]> * handled errs Signed-off-by: pawarpranav83 <[email protected]> * Apply suggestions from code review Co-authored-by: Christoph Stäbler <[email protected]> --------- Signed-off-by: pawarpranav83 <[email protected]> Co-authored-by: Christoph Stäbler <[email protected]>
- Loading branch information
1 parent
44ff98b
commit bb5313d
Showing
2 changed files
with
98 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters