Skip to content

Conversation

maxsokolovsky
Copy link
Contributor

@maxsokolovsky maxsokolovsky commented Jan 30, 2023

Issue:

The first commit has the same as the code changes already reviewed for auth provider cleaning up resources after being disabled.

The second is just a quick fix to address a small issue #39908, since it's related to auth providers.

The third addresses #40354. This changes how the auth config annotation is updated. We must use the unstructured client to preserve all the fields of a config when it is updated. When using a regular interface, I was having issues with fields disappearing on update because of the structure of auth config as a type - it's not a regular CRD.

Problem

Solution

Testing

Engineering Testing

Manual Testing

Automated Testing

QA Testing Considerations

Regressions Considerations

@maxsokolovsky maxsokolovsky force-pushed the additional-behaviors-for-auth-config-controller branch from 7db76f1 to d1d6ac8 Compare January 31, 2023 16:45
@maxsokolovsky maxsokolovsky changed the title Add behaviors to the auth config controller Add CRTB, PRTB, GRB, User cleanup when an auth provider is disabled Jan 31, 2023
@maxsokolovsky maxsokolovsky force-pushed the additional-behaviors-for-auth-config-controller branch from d1d6ac8 to 0e32af5 Compare February 9, 2023 18:10
cmurphy
cmurphy previously approved these changes Feb 10, 2023
Copy link
Contributor

@cmurphy cmurphy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Next time, please split commits like the second commit into their own PR, it makes it easier to review and makes it easier for QA to tell what change fixed what issue.

@maxsokolovsky maxsokolovsky force-pushed the additional-behaviors-for-auth-config-controller branch from 0e32af5 to 97d36a4 Compare February 10, 2023 15:39
@maxsokolovsky maxsokolovsky requested review from cmurphy and removed request for MbolotSuse February 10, 2023 16:45
@maxsokolovsky maxsokolovsky merged commit 17e5bb5 into rancher:release/v2.7 Feb 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants