8000 Hotfix crdhook, add imagePullSecrets by Slach · Pull Request #1917 · Altinity/clickhouse-operator · GitHub
[go: up one dir, main page]

Skip to content
8000
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@ spec:
spec:
serviceAccountName: {{ include "altinity-clickhouse-operator.fullname" . }}-crd-install
restartPolicy: OnFailure
{{- with .Values.crdHook.imagePullSecrets }}
imagePullSecrets:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.crdHook.nodeSelector }}
nodeSelector:
{{- toYaml . | nindent 8 }}
Expand Down
4 changes: 4 additions & 0 deletions deploy/helm/clickhouse-operator/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ crdHook:
tag: "latest"
# crdHook.image.pullPolicy -- image pull policy for CRD installation job
pullPolicy: IfNotPresent
# crdHook.imagePullSecrets -- image pull secrets for CRD installation job
# possible value format `[{"name":"your-secret-name"}]`,
# check `kubectl explain pod.spec.imagePullSecrets` for details
imagePullSecrets: []
# crdHook.resources -- resource limits and requests for CRD installation job
resources: {}
# limits:
Expand Down
0