refactor: correct indents

This commit is contained in:
Chi-En Wu
2020-04-22 17:19:05 +08:00
parent e75a173d9d
commit 9a5a128c6e

View File

@ -6,11 +6,11 @@
{{- $image := $container.image | default (dict) -}} {{- $image := $container.image | default (dict) -}}
name: {{ $top.Chart.Name }} name: {{ $top.Chart.Name }}
securityContext: securityContext:
{{- toYaml $container.securityContext | nindent 4 }} {{- toYaml $container.securityContext | nindent 2 }}
image: "{{ $image.repository }}:{{ $image.tag | default $top.Chart.AppVersion }}" image: "{{ $image.repository }}:{{ $image.tag | default $top.Chart.AppVersion }}"
imagePullPolicy: {{ $container.image.pullPolicy }} imagePullPolicy: {{ $container.image.pullPolicy }}
resources: resources:
{{- toYaml $container.resources | nindent 4 }} {{- toYaml $container.resources | nindent 2 }}
{{- end -}} {{- end -}}
{{- define "common.container" -}} {{- define "common.container" -}}