Merge pull request #2993 from a7i/fix-agent-strategy-indent

fix: karmada-agent helm template strategy indentation
This commit is contained in:
karmada-bot 2022-12-28 14:33:52 +08:00 committed by GitHub
commit 51edc9393c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions

View File

@ -57,7 +57,6 @@ stringData:
name: {{ $name }}-apiserver
current-context: {{ $name }}-apiserver
---
apiVersion: apps/v1
kind: Deployment
metadata:
@ -72,7 +71,7 @@ spec:
{{- include "karmada.agent.labels" . | indent 6 }}
{{- with .Values.agent.strategy }}
strategy:
{{- toYaml . | nindent 8 }}
{{- toYaml . | nindent 4 }}
{{- end }}
template:
metadata: