From 7d8847ee9649db605ea0a6a2a727606130abc224 Mon Sep 17 00:00:00 2001 From: Lukas Monkevicius Date: Thu, 6 Jun 2024 06:49:06 -0700 Subject: [PATCH] update indents for strategy --- .../prometheus-statsd-exporter/templates/daemonset.yaml | 8 ++++---- .../prometheus-statsd-exporter/templates/deployment.yaml | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/charts/prometheus-statsd-exporter/templates/daemonset.yaml b/charts/prometheus-statsd-exporter/templates/daemonset.yaml index 43f07b87be2d..5aa7364e83af 100644 --- a/charts/prometheus-statsd-exporter/templates/daemonset.yaml +++ b/charts/prometheus-statsd-exporter/templates/daemonset.yaml @@ -8,6 +8,10 @@ metadata: spec: {{- if not .Values.autoscaling.enabled }} revisionHistoryLimit: {{ .Values.deploymentRevisionHistoryLimit | default 10 }} + {{- with .Values.updateStrategy }} + updateStrategy: + {{- toYaml . | nindent 4 }} + {{- end }} {{- end }} selector: matchLabels: @@ -125,8 +129,4 @@ spec: topologySpreadConstraints: {{- toYaml . | nindent 8 }} {{- end }} - {{- with .Values.updateStrategy }} - updateStrategy: - {{- toYaml . | nindent 4 }} - {{- end }} {{- end }} diff --git a/charts/prometheus-statsd-exporter/templates/deployment.yaml b/charts/prometheus-statsd-exporter/templates/deployment.yaml index a6580ad7d2f1..fcd56c01aa35 100644 --- a/charts/prometheus-statsd-exporter/templates/deployment.yaml +++ b/charts/prometheus-statsd-exporter/templates/deployment.yaml @@ -9,6 +9,10 @@ spec: {{- if not .Values.autoscaling.enabled }} replicas: {{ .Values.replicaCount }} revisionHistoryLimit: {{ .Values.deploymentRevisionHistoryLimit | default 10 }} + {{- with .Values.strategy }} + strategy: + {{- toYaml . | nindent 4 }} + {{- end }} {{- end }} selector: matchLabels: @@ -126,8 +130,4 @@ spec: topologySpreadConstraints: {{- toYaml . | nindent 8 }} {{- end }} - {{- with .Values.strategy }} - strategy: - {{- toYaml . | nindent 4 }} - {{- end }} {{- end }}