fix #5681 convert all resources parameters to maps instead of strings (#5689)

This commit is contained in:
JesseBot
2024-06-17 17:58:51 +02:00
committed by GitHub
parent da96a3ebba
commit bfd3bbac20
6 changed files with 13 additions and 13 deletions

View File

@@ -204,9 +204,9 @@ spec:
failureThreshold: {{ .Values.s3.livenessProbe.failureThreshold }}
timeoutSeconds: {{ .Values.s3.livenessProbe.timeoutSeconds }}
{{- end }}
{{- if .Values.s3.resources }}
{{- with .Values.s3.resources }}
resources:
{{ tpl .Values.s3.resources . | nindent 12 | trim }}
{{- toYaml . | nindent 12 }}
{{- end }}
{{- if .Values.s3.containerSecurityContext.enabled }}
securityContext: {{- omit .Values.s3.containerSecurityContext "enabled" | toYaml | nindent 12 }}