-
Notifications
You must be signed in to change notification settings - Fork 581
WIP 4.16 add Bound service account token type #1761
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
Conversation
|
/hold for #1758 to make it into 4.15 |
|
Hello @sanchezl! Some important instructions when contributing to openshift/api: |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: sanchezl The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
| // imageRegistryAuthTokenType directs the openshift-controller-manager to use either a | ||
| // legacy,(unbound, long-lived) service acccount tokens or a bound service account | ||
| // token when generating image pull secrets for the integrated image registry. | ||
| // +kubebuilder:default=Legacy |
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.
Have you tried spinning up a cluster, upgrading it to this CRD, reading it, then removing the default from the CRD spec, and confirming that the resource has got the default as applied? If this is the mechanism for making sure that old clusters upgrade and retain the value, I'm not sure this is going to be effective, you may need a controller to set the value in 4.15
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.
The idea is to backport #1758 to 4.15. This PR would be the 4.16 follow-up.
77cad1e to
12821d1
Compare
12821d1 to
e560d29
Compare
|
@sanchezl: all tests passed! Full PR test history. Your PR dashboard. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
e560d29 to
25ecd10
Compare
Introduce a configuration option to allow users to specify the type of service account token to use for the integrated image registry image pull secret auth.
In version v4.15:
Legacy.In version 4.16:
Bound.Legacyservice account tokens until they update the OCM-O config to switch toBound.