From 9694a9f6561b5e05a80322fe7ec7a94d69c7d4f6 Mon Sep 17 00:00:00 2001 From: Zev Isert Date: Wed, 11 Oct 2023 12:56:13 -0700 Subject: [PATCH 1/2] chore: use renderPullSecrets instead of deprecated common.images.pullSecrets --- charts/helmet/templates/_deployment.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/helmet/templates/_deployment.yaml b/charts/helmet/templates/_deployment.yaml index 9bea2a2..3225eeb 100644 --- a/charts/helmet/templates/_deployment.yaml +++ b/charts/helmet/templates/_deployment.yaml @@ -121,7 +121,7 @@ spec: {{- include "common.tplvalues.render" ( dict "value" .Values.extraVolumes "context" $) | nindent 8 }} {{- end }} {{- end }} - {{- include "common.images.pullSecrets" (dict "images" (list .Values.image) "global" .Values.global) | indent 6 }} + {{- include "common.images.renderPullSecrets" (dict "images" (list .Values.image) "global" .Values.global) | indent 6 }} {{- if .Values.hostAliases }} hostAliases: {{- include "common.tplvalues.render" (dict "value" .Values.hostAliases "context" $) | nindent 8 }} {{- end }} From f9765d1c7a6a68feba5b52932c92b2bb165fb432 Mon Sep 17 00:00:00 2001 From: Mohammad Abdolirad Date: Thu, 12 Oct 2023 01:17:55 +0200 Subject: [PATCH 2/2] Update charts/helmet/templates/_deployment.yaml Co-authored-by: Zev Isert --- charts/helmet/templates/_deployment.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/helmet/templates/_deployment.yaml b/charts/helmet/templates/_deployment.yaml index 3225eeb..7dc7bf3 100644 --- a/charts/helmet/templates/_deployment.yaml +++ b/charts/helmet/templates/_deployment.yaml @@ -121,7 +121,7 @@ spec: {{- include "common.tplvalues.render" ( dict "value" .Values.extraVolumes "context" $) | nindent 8 }} {{- end }} {{- end }} - {{- include "common.images.renderPullSecrets" (dict "images" (list .Values.image) "global" .Values.global) | indent 6 }} + {{- include "common.images.renderPullSecrets" (dict "images" (list .Values.image) "context" $) | indent 6 }} {{- if .Values.hostAliases }} hostAliases: {{- include "common.tplvalues.render" (dict "value" .Values.hostAliases "context" $) | nindent 8 }} {{- end }}