diff --git a/Chart.yaml b/Chart.yaml index e531f4b..23abbe5 100644 --- a/Chart.yaml +++ b/Chart.yaml @@ -2,6 +2,6 @@ apiVersion: v2 name: hasura description: A Helm chart for Kubernetes type: application -version: 0.2.2 +version: 0.2.3 appVersion: v2.3.1 icon: https://raw.githubusercontent.com/hasura/graphql-engine/master/assets/brand/powered_by_hasura_primary_lightbg.svg diff --git a/templates/deployment.yaml b/templates/deployment.yaml index 7b04b98..a1b8c7d 100644 --- a/templates/deployment.yaml +++ b/templates/deployment.yaml @@ -20,7 +20,7 @@ spec: labels: {{- include "hasura.selectorLabels" . | nindent 8 }} spec: - {{- with .Values.imagePullSecrets }} + {{- with .Values.image.pullSecrets }} imagePullSecrets: {{- toYaml . | nindent 8 }} {{- end }} diff --git a/templates/migrations-job.yaml b/templates/migrations-job.yaml index 31e0629..4c9dfb1 100644 --- a/templates/migrations-job.yaml +++ b/templates/migrations-job.yaml @@ -16,6 +16,10 @@ spec: labels: {{- include "hasura.labels" . | nindent 8 }} spec: + {{- with .Values.migrations.image.pullSecrets }} + imagePullSecrets: + {{- toYaml . | nindent 8 }} + {{- end }} restartPolicy: Never volumes: - name: data diff --git a/values.yaml b/values.yaml index 57c67c9..fcea065 100644 --- a/values.yaml +++ b/values.yaml @@ -10,6 +10,7 @@ image: pullPolicy: IfNotPresent # Overrides the image tag whose default is the chart appVersion. tag: v2.3.1.cli-migrations-v3 + pullSecrets: [ ] extraEnvVarsSecret: "" @@ -19,8 +20,8 @@ migrations: registry: *registry repository: "" tag: "" + pullSecrets: [ ] -imagePullSecrets: [ ] nameOverride: "" fullnameOverride: ""