Controller: Fix indentation of controller.podSecurityContext
& controller.sysctls
.
This commit is contained in:
parent
8d056bfcbb
commit
918d1d4bd9
2 changed files with 16 additions and 16 deletions
|
@ -60,16 +60,16 @@ spec:
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- if or .Values.controller.podSecurityContext .Values.controller.sysctls }}
|
{{- if or .Values.controller.podSecurityContext .Values.controller.sysctls }}
|
||||||
securityContext:
|
securityContext:
|
||||||
{{- end }}
|
{{- if .Values.controller.podSecurityContext }}
|
||||||
{{- if .Values.controller.podSecurityContext }}
|
|
||||||
{{- toYaml .Values.controller.podSecurityContext | nindent 8 }}
|
{{- toYaml .Values.controller.podSecurityContext | nindent 8 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- if .Values.controller.sysctls }}
|
{{- if .Values.controller.sysctls }}
|
||||||
sysctls:
|
sysctls:
|
||||||
{{- range $sysctl, $value := .Values.controller.sysctls }}
|
{{- range $sysctl, $value := .Values.controller.sysctls }}
|
||||||
- name: {{ $sysctl | quote }}
|
- name: {{ $sysctl | quote }}
|
||||||
value: {{ $value | quote }}
|
value: {{ $value | quote }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- if .Values.controller.shareProcessNamespace }}
|
{{- if .Values.controller.shareProcessNamespace }}
|
||||||
shareProcessNamespace: {{ .Values.controller.shareProcessNamespace }}
|
shareProcessNamespace: {{ .Values.controller.shareProcessNamespace }}
|
||||||
|
|
|
@ -63,16 +63,16 @@ spec:
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- if or .Values.controller.podSecurityContext .Values.controller.sysctls }}
|
{{- if or .Values.controller.podSecurityContext .Values.controller.sysctls }}
|
||||||
securityContext:
|
securityContext:
|
||||||
{{- end }}
|
{{- if .Values.controller.podSecurityContext }}
|
||||||
{{- if .Values.controller.podSecurityContext }}
|
|
||||||
{{- toYaml .Values.controller.podSecurityContext | nindent 8 }}
|
{{- toYaml .Values.controller.podSecurityContext | nindent 8 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- if .Values.controller.sysctls }}
|
{{- if .Values.controller.sysctls }}
|
||||||
sysctls:
|
sysctls:
|
||||||
{{- range $sysctl, $value := .Values.controller.sysctls }}
|
{{- range $sysctl, $value := .Values.controller.sysctls }}
|
||||||
- name: {{ $sysctl | quote }}
|
- name: {{ $sysctl | quote }}
|
||||||
value: {{ $value | quote }}
|
value: {{ $value | quote }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- if .Values.controller.shareProcessNamespace }}
|
{{- if .Values.controller.shareProcessNamespace }}
|
||||||
shareProcessNamespace: {{ .Values.controller.shareProcessNamespace }}
|
shareProcessNamespace: {{ .Values.controller.shareProcessNamespace }}
|
||||||
|
|
Loading…
Reference in a new issue