-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Helm operator does not update CR child serviceaccount ImagePullSecret when watched CR ImagePullSecret changed. #6695
Comments
@acornett21 , thanks for your quick reply. This is a separate issue found in 1.33.0 and before version. |
this could be related to https://kubernetes.io/docs/concepts/security/pod-security-admission/ |
Issues go stale after 90d of inactivity. Mark the issue as fresh by commenting If this issue is safe to close now please do so with /lifecycle stale |
Stale issues rot after 30d of inactivity. Mark the issue as fresh by commenting If this issue is safe to close now please do so with /lifecycle rotten |
Rotten issues close after 30d of inactivity. Reopen the issue by commenting /close |
@openshift-bot: Closing this issue. In response to this:
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-sigs/prow repository. |
Bug Report
What did you do?
Helm operator does not update CR child serviceaccount ImagePullSecret when operator watched CR ImagePullSecret changed.
I defined a CRD kong for helm chart Kong, and use helm operator to deploy it, and a watches.yaml is also defined to watch kong.
First the helm operator pod is deployed, and then a new CR instance
kong/gateway
without ImagePullSecret is created, so childserviceaccount/gateway-kong
and childpod/ gateway-kong
are created accordingly. Because no ImagePullSecret is provided in kong/gateway, so no ImagePullSecret is inserviceaccount/gateway-kong
and the pod is hang in stateImagePullBackOff
.Then ImagePullSecret is added for
kong/gateway
, but theserviceaccount/gateway-kong
with owner tokong/gateway
is not updated accordingly. And no new text are logged in helm operator pod log for this change.What did you expect to see?
When ImagePullSecret is added/changed for
kong/gateway
, theserviceaccount/gateway-kong
with owner tokong/gateway
is update accordingly by helm operator and then the child podpod/ gateway-kong
is created and running without errorImagePullBackOff
.What did you see instead? Under which circumstances?
When ImagePullSecret is added/changed for
kong/gateway
, theserviceaccount/gateway-kong
with owner tokong/gateway
is NOT update accordingly by helm operator and the child podpod/ gateway-kong
is hang inImagePullBackOff
.pod list:
helm operator log:
Environment
Operator type:
Kubernetes cluster type:
$ operator-sdk version
$ go version
(if language is Go)go: 1.21.7.
$ kubectl version
Possible Solution
Additional context
The text was updated successfully, but these errors were encountered: