diff --git a/deploy/templates/deployment.yaml b/deploy/templates/deployment.yaml index 1ecbc91..17b5873 100644 --- a/deploy/templates/deployment.yaml +++ b/deploy/templates/deployment.yaml @@ -30,7 +30,7 @@ spec: spec: automountServiceAccountToken: false imagePullSecrets: - - name: {{ .Release.Name }} + - name: {{ .Release.Name }}-pull-secret containers: - name: {{ .Chart.Name }} image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}" diff --git a/deploy/templates/image-pull-secret.yaml b/deploy/templates/image-pull-secret.yaml index b656f73..dd9f69b 100644 --- a/deploy/templates/image-pull-secret.yaml +++ b/deploy/templates/image-pull-secret.yaml @@ -1,7 +1,7 @@ apiVersion: v1 kind: Secret metadata: - name: {{ .Release.Name }} + name: {{ .Release.Name }}-pull-secret annotations: "helm.sh/hook": pre-install "helm.sh/hook-weight": "-99"