From b99b07b647f778c2cfd25ea07fe8e753b22953b4 Mon Sep 17 00:00:00 2001 From: Vojtech Mares Date: Mon, 24 Jun 2024 19:29:45 +0200 Subject: [PATCH] fix(deploy): rename image pull secret --- deploy/templates/deployment.yaml | 2 +- deploy/templates/image-pull-secret.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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"