Skip to content
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

ImagePullSecrets missing for webhook and custom resource #37

Open
hertfelder opened this issue Sep 15, 2021 · 1 comment
Open

ImagePullSecrets missing for webhook and custom resource #37

hertfelder opened this issue Sep 15, 2021 · 1 comment
Labels
enhancement New feature or request

Comments

@hertfelder
Copy link

containers:
- name: patch
{{- if .Values.operator.admissionWebhooks.patch.image.sha }}
image: {{ .Values.operator.admissionWebhooks.patch.image.repository }}:{{ .Values.operator.admissionWebhooks.patch.image.tag }}@sha256:{{ .Values.operator.admissionWebhooks.patch.image.sha }}
{{- else }}
image: {{ .Values.operator.admissionWebhooks.patch.image.repository }}:{{ .Values.operator.admissionWebhooks.patch.image.tag }}
{{- end }}
imagePullPolicy: {{ .Values.operator.admissionWebhooks.patch.image.pullPolicy }}
args:
- patch
- --webhook-name={{ template "hivemq.fullname" . }}-admission
- --namespace={{ template "hivemq.namespace" . }}
- --patch-mutating=false
- --secret-name={{ template "hivemq.fullname" . }}-admission
- --patch-failure-policy={{ .Values.operator.admissionWebhooks.failurePolicy }}
resources:

Image for webhook can be specified, but no imagePullSecrets can be given. Most customers depending on changing the image/repo will also have to give credentials for their company container registries.

For the HiveMQ K8s image, imagePullSecrets can be given but there is no hint about that in values.yaml, only in hivemqCluster.json. Would be more user friendly if all possible settings are given in values.yaml (and just commented out).

@patrickjahns

@patrickjahns
Copy link
Contributor

Thank you for reporting this - please feel free to propose the changes as pull-request - thank you :-)

@hurtadosanti hurtadosanti added the enhancement New feature or request label Mar 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants