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
@@ -7,7 +7,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes # 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. # to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/) # 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 # 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 # incremented each time you make changes to the application. Versions are not expected to
@@ -29,6 +29,10 @@ spec:
affinity: affinity:
{{- toYaml . | nindent 8 }} {{- toYaml . | nindent 8 }}
{{- end }} {{- end }}
{{- if $infisicalValues.image.imagePullSecrets }}
imagePullSecrets:
{{- toYaml $infisicalValues.image.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.image.imagePullSecrets }}
imagePullSecrets:
{{- toYaml $infisicalValues.image.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"
@@ -29,11 +30,11 @@ infisical:
cpu: 350m cpu: 350m
ingress: ingress:
enabled: true enabled: false
hostName: "" hostName: ""
ingressClassName: nginx ingressClassName: nginx
nginx: nginx:
enabled: true enabled: false
annotations: {} annotations: {}
tls: tls:
[] []