From b573d992f8f944c1f6b8d9e65557f987c84827aa Mon Sep 17 00:00:00 2001 From: Erik 'ETMA' Andersen Date: Thu, 17 Nov 2022 12:44:24 +0100 Subject: [PATCH] move sidecarContainers segment --- src/chartmuseum/templates/deployment.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/chartmuseum/templates/deployment.yaml b/src/chartmuseum/templates/deployment.yaml index 554739d..5e5efab 100644 --- a/src/chartmuseum/templates/deployment.yaml +++ b/src/chartmuseum/templates/deployment.yaml @@ -152,16 +152,16 @@ spec: mountPath: /var/keys readOnly: true {{- end }} + {{- with .Values.resources }} + resources: +{{ toYaml . | indent 10 }} + {{- end }} {{- if .Values.deployment.sidecarContainers }} {{- range $name, $spec := .Values.deployment.sidecarContainers }} - name: {{ $name }} {{- toYaml $spec | nindent 8 }} {{- end }} {{- end }} - {{- with .Values.resources }} - resources: -{{ toYaml . | indent 10 }} - {{- end }} {{- with .Values.nodeSelector }} nodeSelector: {{ toYaml . | indent 8 }}