diff --git a/chart/templates/replicated-deployment.yaml b/chart/templates/replicated-deployment.yaml index 1012f46b..31f79392 100644 --- a/chart/templates/replicated-deployment.yaml +++ b/chart/templates/replicated-deployment.yaml @@ -26,7 +26,7 @@ spec: {{- include "replicated.podLabels" . | nindent 8 }} {{- end }} spec: - {{- with .Values.imagePullSecrets }} + {{- with .Values.imagePullSecrets | default .Values.global.imagePullSecrets }} imagePullSecrets: {{- toYaml . | nindent 8 }} {{- end }} diff --git a/chart/values.yaml b/chart/values.yaml index 4cad73ab..d7a99820 100644 --- a/chart/values.yaml +++ b/chart/values.yaml @@ -5,6 +5,7 @@ # Global settings shared across multiple charts global: imageRegistry: "" # Optional registry override to use for all images + imagePullSecrets: [] # List of secrets containing docker registry credentials # Additional labels to add to all resources created by this chart # Useful for organizational or filtering purposes