-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Hubble-ui now supports imagePullSecrets #15109
Conversation
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.
Thanks for your PR, changes lgtm once CI build is passed.
imagePullSecrets sets every other pod's containers to use the set secrets but currently not hubble-ui, this will add the same code the cilium daemonset and operators use to ensure pulling from private registries works. Signed-off-by: Dom Goodwin <[email protected]>
{{- end }} | ||
{{- if .Values.imagePullSecrets }} | ||
imagePullSecrets: | ||
{{ toYaml .Values.imagePullSecrets | indent 6 }} |
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.
Any reason this is formatted differently than the tolerations:
L41? Shouldn't this be indented to 8 instead of 6?
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.
I was basing it off: https://github.com/cilium/cilium/blob/master/install/kubernetes/cilium/templates/cilium-agent-daemonset.yaml#L88
As it's an array 6 indentation is still valid but happy to change to 8 if preferred
imagePullSecrets:
- item
imagePullSecrets:
- item
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.
Thank you, I see that we indent imagePullSecrets
inconsistently across the different Helm template, but that's outside the scope of this PR.
test-me-please Edit: K8s 1.20 kernel 4.9 hit #15132 |
retest-1.20-4.9 |
Currently there is no way to specify pull secrets for the hubble ui deployment.