From a23621b82280211790655045ba7d37b4c0b5b8d9 Mon Sep 17 00:00:00 2001 From: Lin Yang Date: Tue, 9 Apr 2024 15:15:13 +0800 Subject: [PATCH] fix: nindent Signed-off-by: Lin Yang --- charts/fsm/templates/cleanup-hook.yaml | 2 +- charts/fsm/templates/preinstall-hook.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/charts/fsm/templates/cleanup-hook.yaml b/charts/fsm/templates/cleanup-hook.yaml index 1c2ec2236..75c379aeb 100644 --- a/charts/fsm/templates/cleanup-hook.yaml +++ b/charts/fsm/templates/cleanup-hook.yaml @@ -118,7 +118,7 @@ spec: kubectl delete svc fsm-egress-gateway -n '{{ include "fsm.namespace" . }}' --ignore-not-found; kubectl delete cm fsm-egress-gateway-pjs -n '{{ include "fsm.namespace" . }}' --ignore-not-found; resources: - {{ toYaml .Values.fsm.cleanup.resources | indent 12 }} + {{- toYaml .Values.fsm.cleanup.resources | nindent 12 }} {{- if .Values.fsm.imagePullSecrets }} imagePullSecrets: {{ toYaml .Values.fsm.imagePullSecrets | indent 8 }} diff --git a/charts/fsm/templates/preinstall-hook.yaml b/charts/fsm/templates/preinstall-hook.yaml index 17832a473..9d1ce9c41 100644 --- a/charts/fsm/templates/preinstall-hook.yaml +++ b/charts/fsm/templates/preinstall-hook.yaml @@ -73,7 +73,7 @@ spec: - --enforce-single-mesh={{ .Values.fsm.enforceSingleMesh }} - --namespace={{ include "fsm.namespace" . }} resources: - {{ toYaml .Values.fsm.preinstall.resources | indent 12 }} + {{- toYaml .Values.fsm.preinstall.resources | nindent 12 }} {{- if .Values.fsm.imagePullSecrets }} imagePullSecrets: {{ toYaml .Values.fsm.imagePullSecrets | indent 8 }}