refactor: correct indents
This commit is contained in:
@ -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" -}}
|
||||||
|
Reference in New Issue
Block a user