Merge pull request #1756 from alvaroReina/alvaro/add-image-pull-secrets-support

added imagePullSecrets support to infisical-standalone-postgres chart
This commit is contained in:
Maidul Islam
2024-04-29 19:12:09 -04:00
committed by GitHub
4 changed files with 12 additions and 3 deletions

View File

@@ -7,7 +7,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 1.0.7
version: 1.0.8
# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to

View File

@@ -29,6 +29,10 @@ spec:
affinity:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- if $infisicalValues.image.imagePullSecrets }}
imagePullSecrets:
{{- toYaml $infisicalValues.image.imagePullSecrets | nindent 6 }}
{{- end }}
{{- if $infisicalValues.autoDatabaseSchemaMigration }}
initContainers:
- name: "migration-init"

View File

@@ -16,6 +16,10 @@ spec:
app.kubernetes.io/instance: {{ .Release.Name | quote }}
helm.sh/chart: "{{ .Chart.Name }}-{{ .Chart.Version }}"
spec:
{{- if $infisicalValues.image.imagePullSecrets }}
imagePullSecrets:
{{- toYaml $infisicalValues.image.imagePullSecrets | nindent 6 }}
{{- end }}
restartPolicy: OnFailure
containers:
- name: infisical-schema-migration

View File

@@ -14,6 +14,7 @@ infisical:
repository: infisical/infisical
tag: "v0.46.3-postgres"
pullPolicy: IfNotPresent
imagePullSecrets: []
affinity: {}
kubeSecretRef: "infisical-secrets"
@@ -29,11 +30,11 @@ infisical:
cpu: 350m
ingress:
enabled: true
enabled: false
hostName: ""
ingressClassName: nginx
nginx:
enabled: true
enabled: false
annotations: {}
tls:
[]