From 9a5a128c6e07ecd9e9c4f2d061891366086de49d Mon Sep 17 00:00:00 2001 From: Chi-En Wu Date: Wed, 22 Apr 2020 17:19:05 +0800 Subject: [PATCH] refactor: correct indents --- templates/_container.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/_container.yaml b/templates/_container.yaml index a012156..3a6c310 100644 --- a/templates/_container.yaml +++ b/templates/_container.yaml @@ -6,11 +6,11 @@ {{- $image := $container.image | default (dict) -}} name: {{ $top.Chart.Name }} securityContext: - {{- toYaml $container.securityContext | nindent 4 }} + {{- toYaml $container.securityContext | nindent 2 }} image: "{{ $image.repository }}:{{ $image.tag | default $top.Chart.AppVersion }}" imagePullPolicy: {{ $container.image.pullPolicy }} resources: - {{- toYaml $container.resources | nindent 4 }} + {{- toYaml $container.resources | nindent 2 }} {{- end -}} {{- define "common.container" -}}