mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-04 07:26:11 +00:00
added imagePullSecrets support
This commit is contained in:
@@ -29,6 +29,10 @@ spec:
|
|||||||
affinity:
|
affinity:
|
||||||
{{- toYaml . | nindent 8 }}
|
{{- toYaml . | nindent 8 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- if $infisicalValues.imagePullSecrets }}
|
||||||
|
imagePullSecrets:
|
||||||
|
{{- toYaml $infisicalValues.imagePullSecrets | nindent 6 }}
|
||||||
|
{{- end }}
|
||||||
{{- if $infisicalValues.autoDatabaseSchemaMigration }}
|
{{- if $infisicalValues.autoDatabaseSchemaMigration }}
|
||||||
initContainers:
|
initContainers:
|
||||||
- name: "migration-init"
|
- name: "migration-init"
|
||||||
|
|||||||
@@ -16,6 +16,10 @@ spec:
|
|||||||
app.kubernetes.io/instance: {{ .Release.Name | quote }}
|
app.kubernetes.io/instance: {{ .Release.Name | quote }}
|
||||||
helm.sh/chart: "{{ .Chart.Name }}-{{ .Chart.Version }}"
|
helm.sh/chart: "{{ .Chart.Name }}-{{ .Chart.Version }}"
|
||||||
spec:
|
spec:
|
||||||
|
{{- if $infisicalValues.imagePullSecrets }}
|
||||||
|
imagePullSecrets:
|
||||||
|
{{- toYaml $infisicalValues.imagePullSecrets | nindent 6 }}
|
||||||
|
{{- end }}
|
||||||
restartPolicy: OnFailure
|
restartPolicy: OnFailure
|
||||||
containers:
|
containers:
|
||||||
- name: infisical-schema-migration
|
- name: infisical-schema-migration
|
||||||
|
|||||||
@@ -14,6 +14,7 @@ infisical:
|
|||||||
repository: infisical/infisical
|
repository: infisical/infisical
|
||||||
tag: "v0.46.3-postgres"
|
tag: "v0.46.3-postgres"
|
||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
|
imagePullSecrets: []
|
||||||
|
|
||||||
affinity: {}
|
affinity: {}
|
||||||
kubeSecretRef: "infisical-secrets"
|
kubeSecretRef: "infisical-secrets"
|
||||||
|
|||||||
Reference in New Issue
Block a user