Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

added imagePullSecrets support

Alvaro Reina5c3f2e66fd6f
diff --git a/helm-charts/infisical-standalone-postgres/templates/infisical.yaml b/helm-charts/infisical-standalone-postgres/templates/infisical.yaml
index 6c022c0058..fcfe4acee7 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 d504d51aa2..06c00368f7 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 d4297ebdaf..2f1703fb90 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"