From 4704774c63c190379b14dd0d3087f46e6f3d6095 Mon Sep 17 00:00:00 2001 From: cyrgim Date: Thu, 31 Jul 2025 07:01:51 +0200 Subject: [PATCH] feat(helm): add support for imagePullSecrets --- helm-charts/secrets-operator/templates/deployment.yaml | 4 ++++ helm-charts/secrets-operator/values.yaml | 1 + 2 files changed, 5 insertions(+) diff --git a/helm-charts/secrets-operator/templates/deployment.yaml b/helm-charts/secrets-operator/templates/deployment.yaml index 8a1db0518..8a99e104e 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 54b64d4ca..71eab497b 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: []