Skip to content

Commit 580883b

Browse files
add operator ui helm chart value imagePullSecret (zalando#1211)
1 parent 67d1b4b commit 580883b

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

charts/postgres-operator-ui/templates/deployment.yaml

+4
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,10 @@ spec:
2121
team: "acid" # Parameterize?
2222
spec:
2323
serviceAccountName: {{ include "postgres-operator-ui.serviceAccountName" . }}
24+
{{- if .Values.imagePullSecrets }}
25+
imagePullSecrets:
26+
{{ toYaml .Values.imagePullSecrets | indent 8 }}
27+
{{- end }}
2428
containers:
2529
- name: "service"
2630
image: "{{ .Values.image.registry }}/{{ .Values.image.repository }}:{{ .Values.image.tag }}"

charts/postgres-operator-ui/values.yaml

+6
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,12 @@ image:
1111
tag: v1.5.0-dirty
1212
pullPolicy: "IfNotPresent"
1313

14+
# Optionally specify an array of imagePullSecrets.
15+
# Secrets must be manually created in the namespace.
16+
# ref: https://kubernetes.io/docs/concepts/containers/images/#specifying-imagepullsecrets-on-a-pod
17+
# imagePullSecrets:
18+
# - name:
19+
1420
rbac:
1521
# Specifies whether RBAC resources should be created
1622
create: true

0 commit comments

Comments
 (0)