style: trim whitespaces before {{include}}

This commit is contained in:
Chi-En Wu
2020-04-22 12:23:57 +08:00
parent cf0679333c
commit de752b0fb1
11 changed files with 16 additions and 16 deletions

View File

@ -7,16 +7,16 @@
apiVersion: apps/v1
kind: Deployment
metadata:
{{ include "common.metadata" (list $top) | nindent 2 }}
{{- include "common.metadata" (list $top) | nindent 2 }}
spec:
{{- if not $autoscaling.enabled }}
replicas: {{ $deployment.replicaCount | default 1 }}
{{- end }}
selector:
matchLabels:
{{ include "common.selectorLabels" $top | nindent 6 }}
{{- include "common.selectorLabels" $top | nindent 6 }}
template:
{{ include "common.pod.template" . | nindent 4 }}
{{- include "common.pod.template" . | nindent 4 }}
{{- end -}}
{{- define "common.deployment" -}}