Merge pull request #8696 from f0rmiga/patch-1

fix: boilerplate template indentation
pull/8887/head
Matthew Fisher 5 years ago committed by GitHub
commit e73af10d0b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -258,18 +258,18 @@ metadata:
labels: labels:
{{- include "<CHARTNAME>.labels" . | nindent 4 }} {{- include "<CHARTNAME>.labels" . | nindent 4 }}
spec: spec:
{{- if not .Values.autoscaling.enabled }} {{- if not .Values.autoscaling.enabled }}
replicas: {{ .Values.replicaCount }} replicas: {{ .Values.replicaCount }}
{{- end }} {{- end }}
selector: selector:
matchLabels: matchLabels:
{{- include "<CHARTNAME>.selectorLabels" . | nindent 6 }} {{- include "<CHARTNAME>.selectorLabels" . | nindent 6 }}
template: template:
metadata: metadata:
{{- with .Values.podAnnotations }} {{- with .Values.podAnnotations }}
annotations: annotations:
{{- toYaml . | nindent 8 }} {{- toYaml . | nindent 8 }}
{{- end }} {{- end }}
labels: labels:
{{- include "<CHARTNAME>.selectorLabels" . | nindent 8 }} {{- include "<CHARTNAME>.selectorLabels" . | nindent 8 }}
spec: spec:

Loading…
Cancel
Save