diff --git a/helm-charts/infisical-standalone-postgres/templates/infisical.yaml b/helm-charts/infisical-standalone-postgres/templates/infisical.yaml index 6c022c005..fcfe4acee 100644 --- a/helm-charts/infisical-standalone-postgres/templates/infisical.yaml +++ b/helm-charts/infisical-standalone-postgres/templates/infisical.yaml @@ -29,6 +29,10 @@ spec: affinity: {{- toYaml . | nindent 8 }} {{- end }} + {{- if $infisicalValues.imagePullSecrets }} + imagePullSecrets: + {{- toYaml $infisicalValues.imagePullSecrets | nindent 6 }} + {{- end }} {{- if $infisicalValues.autoDatabaseSchemaMigration }} initContainers: - name: "migration-init" diff --git a/helm-charts/infisical-standalone-postgres/templates/schema-migration-job.yaml b/helm-charts/infisical-standalone-postgres/templates/schema-migration-job.yaml index d504d51aa..06c00368f 100644 --- a/helm-charts/infisical-standalone-postgres/templates/schema-migration-job.yaml +++ b/helm-charts/infisical-standalone-postgres/templates/schema-migration-job.yaml @@ -16,6 +16,10 @@ spec: app.kubernetes.io/instance: {{ .Release.Name | quote }} helm.sh/chart: "{{ .Chart.Name }}-{{ .Chart.Version }}" spec: + {{- if $infisicalValues.imagePullSecrets }} + imagePullSecrets: + {{- toYaml $infisicalValues.imagePullSecrets | nindent 6 }} + {{- end }} restartPolicy: OnFailure containers: - name: infisical-schema-migration diff --git a/helm-charts/infisical-standalone-postgres/values.yaml b/helm-charts/infisical-standalone-postgres/values.yaml index d4297ebda..2f1703fb9 100644 --- a/helm-charts/infisical-standalone-postgres/values.yaml +++ b/helm-charts/infisical-standalone-postgres/values.yaml @@ -14,6 +14,7 @@ infisical: repository: infisical/infisical tag: "v0.46.3-postgres" pullPolicy: IfNotPresent + imagePullSecrets: [] affinity: {} kubeSecretRef: "infisical-secrets"