Skip to content

Commit

Permalink
update indents for strategy
Browse files Browse the repository at this point in the history
  • Loading branch information
lukas-unity committed Jun 6, 2024
1 parent 1c334e8 commit 7d8847e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions charts/prometheus-statsd-exporter/templates/daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -125,8 +129,4 @@ spec:
topologySpreadConstraints:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.updateStrategy }}
updateStrategy:
{{- toYaml . | nindent 4 }}
{{- end }}
{{- end }}
8 changes: 4 additions & 4 deletions charts/prometheus-statsd-exporter/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -126,8 +130,4 @@ spec:
topologySpreadConstraints:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.strategy }}
strategy:
{{- toYaml . | nindent 4 }}
{{- end }}
{{- end }}

0 comments on commit 7d8847e

Please sign in to comment.