diff --git a/helm-charts/secrets-operator/templates/deployment.yaml b/helm-charts/secrets-operator/templates/deployment.yaml index 8a1db0518a..8a99e104e5 100644 --- a/helm-charts/secrets-operator/templates/deployment.yaml +++ b/helm-charts/secrets-operator/templates/deployment.yaml @@ -86,6 +86,10 @@ spec: securityContext: runAsNonRoot: true serviceAccountName: {{ include "secrets-operator.fullname" . }}-controller-manager + {{- with .Values.imagePullSecrets }} + imagePullSecrets: + {{- toYaml . | nindent 8 }} + {{- end }} terminationGracePeriodSeconds: 10 nodeSelector: {{ toYaml .Values.controllerManager.nodeSelector | nindent 8 }} tolerations: {{ toYaml .Values.controllerManager.tolerations | nindent 8 }} diff --git a/helm-charts/secrets-operator/values.yaml b/helm-charts/secrets-operator/values.yaml index 70dcaf49cd..1f56c666cf 100644 --- a/helm-charts/secrets-operator/values.yaml +++ b/helm-charts/secrets-operator/values.yaml @@ -56,3 +56,4 @@ kubernetesClusterDomain: cluster.local scopedNamespace: "" scopedRBAC: false installCRDs: true +imagePullSecrets: []