-
Notifications
You must be signed in to change notification settings - Fork 594
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
Drop KongCredential from KIC and configuration/v1 CRDs #862
Conversation
// Due to this reason, one can't perform a 'diff' with them. | ||
// This function filters for basic-auth password changes and applies them | ||
// to Kong as they happen. | ||
func (n *KongController) handleBasicAuthUpdates(ctx context.Context, event Event) error { |
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.
So it seems like we introduced a bug when we added in the Secret-based credentials.
This function should be triggered when basic-auth creds in a secret change.
The bug has not come up because it applies to basic-auth credentials and DB-mode of Kong, which is not a common situation (I wonder where the users are who prompted me to add this function, we had quite a few reports for this problem in the past).
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.
Tracking this here: #865
Not a blocker for this PR.
The base branch was changed.
This needs to go into next. Please rebase and resolve the conflict. |
3c5aa58
to
ceecb6b
Compare
Done. PTAL now. |
Please remove 1de8dac from this PR. |
ceecb6b
to
f59bf4e
Compare
What this PR does / why we need it:
After this PR, KIC has no notion of KongCredential whatsoever and provides equivalent functionality by means of plain Secrets.
Which issue this PR fixes: fixes #823
Special notes for your reviewer:
Consider merging without squashing.