Controller/PSP: Align indentation.

This commit is contained in:
Marco Ebert 2023-10-06 18:18:06 +02:00
parent ae18981c4a
commit 2315263b60

View file

@ -19,7 +19,7 @@ spec:
{{- if .Values.controller.sysctls }} {{- if .Values.controller.sysctls }}
allowedUnsafeSysctls: allowedUnsafeSysctls:
{{- range $sysctl, $value := .Values.controller.sysctls }} {{- range $sysctl, $value := .Values.controller.sysctls }}
- {{ $sysctl }} - {{ $sysctl }}
{{- end }} {{- end }}
{{- end }} {{- end }}
privileged: false privileged: false
@ -36,39 +36,39 @@ spec:
{{- end }} {{- end }}
{{- if or .Values.controller.hostNetwork .Values.controller.hostPort.enabled }} {{- if or .Values.controller.hostNetwork .Values.controller.hostPort.enabled }}
hostPorts: hostPorts:
{{- if .Values.controller.hostNetwork }} {{- if .Values.controller.hostNetwork }}
{{- range $key, $value := .Values.controller.containerPort }} {{- range $key, $value := .Values.controller.containerPort }}
# {{ $key }} # {{ $key }}
- min: {{ $value }} - min: {{ $value }}
max: {{ $value }} max: {{ $value }}
{{- end }} {{- end }}
{{- else if .Values.controller.hostPort.enabled }} {{- else if .Values.controller.hostPort.enabled }}
{{- range $key, $value := .Values.controller.hostPort.ports }} {{- range $key, $value := .Values.controller.hostPort.ports }}
# {{ $key }} # {{ $key }}
- min: {{ $value }} - min: {{ $value }}
max: {{ $value }} max: {{ $value }}
{{- end }} {{- end }}
{{- end }} {{- end }}
{{- if .Values.controller.metrics.enabled }} {{- if .Values.controller.metrics.enabled }}
# metrics # metrics
- min: {{ .Values.controller.metrics.port }} - min: {{ .Values.controller.metrics.port }}
max: {{ .Values.controller.metrics.port }} max: {{ .Values.controller.metrics.port }}
{{- end }} {{- end }}
{{- if .Values.controller.admissionWebhooks.enabled }} {{- if .Values.controller.admissionWebhooks.enabled }}
# admission webhooks # admission webhooks
- min: {{ .Values.controller.admissionWebhooks.port }} - min: {{ .Values.controller.admissionWebhooks.port }}
max: {{ .Values.controller.admissionWebhooks.port }} max: {{ .Values.controller.admissionWebhooks.port }}
{{- end }} {{- end }}
{{- range $key, $value := .Values.tcp }} {{- range $key, $value := .Values.tcp }}
# {{ $key }}-tcp # {{ $key }}-tcp
- min: {{ $key }} - min: {{ $key }}
max: {{ $key }} max: {{ $key }}
{{- end }} {{- end }}
{{- range $key, $value := .Values.udp }} {{- range $key, $value := .Values.udp }}
# {{ $key }}-udp # {{ $key }}-udp
- min: {{ $key }} - min: {{ $key }}
max: {{ $key }} max: {{ $key }}
{{- end }} {{- end }}
{{- end }} {{- end }}
hostIPC: false hostIPC: false
hostPID: false hostPID: false