Skip to content

Commit

Permalink
fix(migrations) correct issue with affinity indentation (#972)
Browse files Browse the repository at this point in the history
  • Loading branch information
wesleydutrads committed Dec 9, 2023
1 parent f648738 commit 2e53239
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion charts/kong/templates/migrations-post-upgrade.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion charts/kong/templates/migrations-pre-upgrade.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion charts/kong/templates/migrations.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 2e53239

Please sign in to comment.