From 0dcaf922d99f59246f2c476ac44e8419b96a3c58 Mon Sep 17 00:00:00 2001 From: Adam Csordas Date: Wed, 14 Feb 2024 13:08:03 +0100 Subject: [PATCH] fix: move imagePullSecrets property to correct position --- charts/gotenberg/templates/deployment.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/charts/gotenberg/templates/deployment.yaml b/charts/gotenberg/templates/deployment.yaml index b08c9b9..9151e91 100644 --- a/charts/gotenberg/templates/deployment.yaml +++ b/charts/gotenberg/templates/deployment.yaml @@ -12,10 +12,6 @@ metadata: {{ toYaml .Values.annotations | indent 8 }} {{- end }} spec: - {{- with .Values.imagePullSecrets }} - imagePullSecrets: - {{- toYaml . | nindent 8 }} - {{- end }} replicas: {{ .Values.replicaCount }} selector: matchLabels: @@ -27,6 +23,10 @@ spec: annotations: checksum/config: {{ include (print $.Template.BasePath "/secrets.yaml") . | sha256sum }} spec: + {{- with .Values.imagePullSecrets }} + imagePullSecrets: + {{- toYaml . | nindent 8 }} + {{- end }} securityContext: runAsUser: 1001 runAsGroup: 1001