-
Notifications
You must be signed in to change notification settings - Fork 224
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
fix: ServiceAccount are correctly annotated #636
Conversation
Signed-off-by: Jorge Turrado <[email protected]>
Signed-off-by: Jorge Turrado <[email protected]>
Signed-off-by: Jorge Turrado <[email protected]>
can you please elaborate on the issue here?
what do you mean by this exactly? User's
so if not provided, the old format is tried |
Default values provided by chart's values.yaml set them to true: Lines 290 to 317 in f9f23e9
|
This condition is failing because of that:
As |
Signed-off-by: Jorge Turrado <[email protected]>
Signed-off-by: Jorge Turrado <[email protected]>
Signed-off-by: Jorge Turrado <[email protected]>
Signed-off-by: Jorge Turrado <[email protected]>
thanks again @JorTurFer for taking this one |
* fix: ServiceAccount are correctly annotated Signed-off-by: Jorge Turrado <[email protected]> * Rebase main changes Signed-off-by: Jorge Turrado <[email protected]> * update missing add-on version Signed-off-by: Jorge Turrado <[email protected]> * revert some changes Signed-off-by: Jorge Turrado <[email protected]> * revert some changes Signed-off-by: Jorge Turrado <[email protected]> * revert some changes Signed-off-by: Jorge Turrado <[email protected]> * repack the helm chart Signed-off-by: Jorge Turrado <[email protected]> --------- Signed-off-by: Jorge Turrado <[email protected]> Signed-off-by: Jorge Turrado <[email protected]> Signed-off-by: QuentinBisson <[email protected]>
NOTE: This other PR is in conflict as both updates the index, we will have to merge one and the rebase the other one
During the RBAC modifications, we introduced a but that suppressed the operator service account annotations. This can be critical for users who don't use
podIdentity
section but directly annotate the service account with pod identity information (basically, KEDA doesn't use pod identity on their cases)This PR keeps the serviceaccount segregation, but instead of a fallback condition that includes the old
serviceAccount.annotations
only if the more new ones aren't set (which was failing because the values.yaml sets them) now we will place both together. When users migrate their yamls, they just need to add the new ones and remove the old ones, but as default, they won't have any breaking changeChecklist
Fixes kedacore/keda#5758