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 }}