add image pull secrets in helm chart
This commit is contained in:
parent
9811fe4c6f
commit
d002b37180
2
Makefile
2
Makefile
@ -124,4 +124,4 @@ e2e-teardown:
|
||||
|
||||
.PHONY: e2e-test
|
||||
e2e-test:
|
||||
go test -v -timeout=0 ./test/e2e ${GINKGO_FLAGS}
|
||||
go test -v -timeout=0 ./test/e2e ${GINKGO_FLAGS}
|
||||
|
||||
Binary file not shown.
@ -15,6 +15,10 @@ spec:
|
||||
{{ include "nfs.labels" . | indent 6 }}
|
||||
app: csi-nfs-controller
|
||||
spec:
|
||||
{{- if .Values.imagePullSecrets }}
|
||||
imagePullSecrets:
|
||||
{{ toYaml .Values.imagePullSecrets | indent 8 }}
|
||||
{{- end }}
|
||||
hostNetwork: true # controller also needs to mount nfs to create dir
|
||||
dnsPolicy: ClusterFirstWithHostNet
|
||||
serviceAccountName: csi-nfs-controller-sa
|
||||
|
||||
@ -15,6 +15,10 @@ spec:
|
||||
{{ include "nfs.labels" . | indent 6 }}
|
||||
app: csi-nfs-node
|
||||
spec:
|
||||
{{- if .Values.imagePullSecrets }}
|
||||
imagePullSecrets:
|
||||
{{ toYaml .Values.imagePullSecrets | indent 8 }}
|
||||
{{- end }}
|
||||
hostNetwork: true # original nfs connection would be broken without hostNetwork setting
|
||||
dnsPolicy: ClusterFirstWithHostNet
|
||||
nodeSelector:
|
||||
|
||||
@ -26,3 +26,9 @@ controller:
|
||||
|
||||
node:
|
||||
logLevel: 5
|
||||
|
||||
## Reference to one or more secrets to be used when pulling images
|
||||
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
|
||||
##
|
||||
imagePullSecrets: []
|
||||
# - name: "image-pull-secret"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user