add imagePullSecrets

This commit is contained in:
2022-03-21 16:02:38 +03:00
parent 4d66d045f1
commit 68b5db014b
4 changed files with 8 additions and 3 deletions

View File

@ -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

View File

@ -20,7 +20,7 @@ spec:
labels:
{{- include "hasura.selectorLabels" . | nindent 8 }}
spec:
{{- with .Values.imagePullSecrets }}
{{- with .Values.image.pullSecrets }}
imagePullSecrets:
{{- toYaml . | nindent 8 }}
{{- end }}

View File

@ -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

View File

@ -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: ""