Skip to content

Commit 60290db

Browse files
authored
Merge pull request #76 from mariuszadamski-ca/main
Add imagePullSecrets
2 parents 2747f26 + 91be740 commit 60290db

3 files changed

Lines changed: 10 additions & 0 deletions

File tree

charts/kube-vip-cloud-provider/templates/deployment.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,10 @@ spec:
4545
runAsGroup: 65532
4646
seccompProfile:
4747
type: RuntimeDefault
48+
{{- with .Values.imagePullSecrets }}
49+
imagePullSecrets:
50+
{{- toYaml . | nindent 8 }}
51+
{{- end }}
4852
serviceAccountName: {{ include "kube-vip-cloud-provider.name" . }}
4953
{{- if .Values.nodeSelector }}
5054
nodeSelector:

charts/kube-vip-cloud-provider/values.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ image:
1010
# Overrides the image tag whose default is the chart appVersion.
1111
# tag: "v0.0.4"
1212

13+
imagePullSecrets: []
14+
1315
# Custom namespace to override the namespace for the deployed resources.
1416
namespaceOverride: ""
1517

charts/kube-vip/templates/daemonset.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,10 @@ spec:
7474
hostAliases:
7575
{{- toYaml . | nindent 8 }}
7676
{{- end }}
77+
{{- with .Values.imagePullSecrets }}
78+
imagePullSecrets:
79+
{{- toYaml . | nindent 8 }}
80+
{{- end }}
7781
hostNetwork: true
7882
serviceAccountName: {{ include "kube-vip.name" . }}
7983
{{- with .Values.nodeSelector }}

0 commit comments

Comments
 (0)