From 07f24acb7582fc3d0eb551f9f4fab5d90f269f89 Mon Sep 17 00:00:00 2001 From: pat-s Date: Fri, 26 Jul 2024 10:17:53 +0200 Subject: [PATCH] move to correct place --- ntfy/templates/deployment.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ntfy/templates/deployment.yaml b/ntfy/templates/deployment.yaml index 14e1d8d..7636ccc 100644 --- a/ntfy/templates/deployment.yaml +++ b/ntfy/templates/deployment.yaml @@ -11,6 +11,10 @@ spec: selector: matchLabels: {{- include "ntfy.selectorLabels" . | nindent 6 }} + strategy: + {{- with .Values.updateStrategy }} + {{- toYaml . | nindent 4 }} + {{- end }} template: metadata: annotations: @@ -28,10 +32,6 @@ spec: imagePullSecrets: {{- toYaml . | nindent 8 }} {{- end }} - {{- with .Values.updateStrategy }} - strategy: - {{- toYaml . | nindent 8 }} - {{- end }} serviceAccountName: {{ include "ntfy.serviceAccountName" . }} securityContext: {{- toYaml .Values.podSecurityContext | nindent 8 }}