-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge annotations from desired with existing ones in the ServiceAccou…
…nts (#969) * Merge annotations from desired with existing ones for ServiceAccount objects Signed-off-by: Ruben Vargas <[email protected]> Co-authored-by: Israel Blancas <[email protected]>
- Loading branch information
1 parent
76bfab6
commit 7dad6f3
Showing
3 changed files
with
52 additions
and
1 deletion.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# One of 'breaking', 'deprecation', 'new_component', 'enhancement', 'bug_fix' | ||
change_type: bug_fix | ||
|
||
# The name of the component, or a single word describing the area of concern, (e.g. operator, github action) | ||
component: operator | ||
|
||
# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`). | ||
note: Modify SA annotations managed by the operator, preserve others. | ||
|
||
# One or more tracking issues related to the change | ||
issues: [970] | ||
|
||
# (Optional) One or more lines of additional information to render under the primary note. | ||
# These lines will be padded with 2 spaces and then inserted directly into the document. | ||
# Use pipe (|) for multiline entries. | ||
subtext: | | ||
This prevents other controllers that modified the SA from create an infinite loop where the other controller modifies something, | ||
and tempo-operator removes it, the other controller detect the changes and add its and so on and so on. | ||
This is specific for OpenShift case, where the openshift-controller-manager annotates the SA with | ||
openshift.io/internal-registry-pull-secret-ref. | ||
See https://github.com/openshift/openshift-controller-manager/pull/288/ and | ||
https://docs.openshift.com/container-platform/4.16/release_notes/ocp-4-16-release-notes.html section about | ||
"Legacy service account API token secrets are no longer generated for each service account" |
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