diff --git a/deploy/charts/version-checker/templates/deployment.yaml b/deploy/charts/version-checker/templates/deployment.yaml index f483a0f..def44e5 100644 --- a/deploy/charts/version-checker/templates/deployment.yaml +++ b/deploy/charts/version-checker/templates/deployment.yaml @@ -80,6 +80,10 @@ spec: volumeMounts: {{- toYaml . | nindent 10 }} {{- end }} + {{- if .Values.imagePullSecrets }} + imagePullSecrets: + {{ toYaml .Values.imagePullSecrets | indent 2 }} + {{- end }} {{- with .Values.podSecurityContext }} securityContext: {{- toYaml . | nindent 8 }} diff --git a/deploy/charts/version-checker/values.yaml b/deploy/charts/version-checker/values.yaml index 46ce536..5911c3d 100644 --- a/deploy/charts/version-checker/values.yaml +++ b/deploy/charts/version-checker/values.yaml @@ -8,6 +8,9 @@ nameOverride: "" # -- Replica Count for version-checker replicaCount: 1 +# -- Pull secrects - names of existing secrets +imagePullSecrets: [] + # -- Additional Labels to apply to Service and Deployment/Pod Objects additionalLabels: {} # -- Additional Annotations to apply to Service and Deployment/Pod Objects @@ -20,8 +23,6 @@ image: tag: "" # -- Set the Image Pull Policy pullPolicy: IfNotPresent - # -- Pull secrects - name of existing secret - imagePullSecret: # -- Configure tolerations tolerations: []