Skip to content

Commit d0ae780

Browse files
committed
Added option to specify imagePullSecrets
1 parent f833163 commit d0ae780

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
{{- if .Values.serviceAccount.create }}
22
apiVersion: v1
33
kind: ServiceAccount
4+
{{- if .Values.serviceAccount.imagePullSecrets }}
5+
imagePullSecrets:
6+
{{- range .Values.serviceAccount.imagePullSecrets }}
7+
- name: {{ . }}
8+
{{- end }}
9+
{{- end }}
410
metadata:
511
name: {{ .Values.serviceAccount.name }}
612
{{- end }}

charts/zookeeper-operator/values.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
# This is a YAML-formatted file.
33
# Declare variables to be passed into your templates.
44

5+
56
image:
67
repository: amuraru/zookeeper-operator
78
tag: v0.2.6-adobe-2
@@ -15,6 +16,9 @@ rbac:
1516
serviceAccount:
1617
create: true
1718
name: zookeeper-operator
19+
# Lists the secrets you need to use to pull zookeeper-operator image from a private registry.
20+
imagePullSecrets: []
21+
# - private-registry-key
1822

1923
# Whether to create custom resource
2024
crd:

0 commit comments

Comments
 (0)