diff --git a/charts/kong/templates/migrations-post-upgrade.yaml b/charts/kong/templates/migrations-post-upgrade.yaml index 33a697d2f..3fe759ba2 100644 --- a/charts/kong/templates/migrations-post-upgrade.yaml +++ b/charts/kong/templates/migrations-post-upgrade.yaml @@ -78,7 +78,7 @@ spec: {{- include "kong.podsecuritycontext" . | nindent 8 }} {{- if .Values.affinity }} affinity: - {{- toYaml .Values.affinity | indent 8 }} + {{- toYaml .Values.affinity | nindent 8 }} {{- end }} {{- if .Values.nodeSelector }} nodeSelector: diff --git a/charts/kong/templates/migrations-pre-upgrade.yaml b/charts/kong/templates/migrations-pre-upgrade.yaml index 8ea9b4c20..2f57eae8d 100644 --- a/charts/kong/templates/migrations-pre-upgrade.yaml +++ b/charts/kong/templates/migrations-pre-upgrade.yaml @@ -80,7 +80,7 @@ spec: {{- include "kong.podsecuritycontext" . | nindent 8 }} {{- if .Values.affinity }} affinity: - {{- toYaml .Values.affinity | indent 8 }} + {{- toYaml .Values.affinity | nindent 8 }} {{- end }} {{- if .Values.nodeSelector }} nodeSelector: diff --git a/charts/kong/templates/migrations.yaml b/charts/kong/templates/migrations.yaml index 400ab6410..8faf5e913 100644 --- a/charts/kong/templates/migrations.yaml +++ b/charts/kong/templates/migrations.yaml @@ -88,7 +88,7 @@ spec: {{- include "kong.podsecuritycontext" . | nindent 8 }} {{- if .Values.affinity }} affinity: - {{- toYaml .Values.affinity | indent 8 }} + {{- toYaml .Values.affinity | nindent 8 }} {{- end }} {{- if .Values.nodeSelector }} nodeSelector: