Skip to content

Commit

Permalink
Merge pull request #2993 from a7i/fix-agent-strategy-indent
Browse files Browse the repository at this point in the history
fix: karmada-agent helm template strategy indentation
  • Loading branch information
karmada-bot authored Dec 28, 2022
2 parents 24c81c3 + 6436c55 commit 51edc93
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions charts/karmada/templates/karmada-agent.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@ stringData:
name: {{ $name }}-apiserver
current-context: {{ $name }}-apiserver
---

apiVersion: apps/v1
kind: Deployment
metadata:
Expand All @@ -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:
Expand Down

0 comments on commit 51edc93

Please sign in to comment.