render imagePullSecrets in Deployment/StatefulSet (#1130)

Signed-off-by: czaloumis <80974398+czaloumis@users.noreply.github.com>
This commit is contained in:
czaloumis
2025-12-13 05:23:35 +02:00
committed by GitHub
parent 08be8f5472
commit 1229fddb5d
6 changed files with 47 additions and 8 deletions
+2 -2
View File
@@ -15,9 +15,9 @@ spec:
labels:
app: {{ include "rustfs.name" . }}
spec:
{{- if .Values.imageRegistryCredentials.enabled }}
{{- with include "chart.imagePullSecrets" . }}
imagePullSecrets:
- name: {{ .Values.imagePullSecrets }}
{{- . | nindent 8 }}
{{- end }}
{{- if .Values.podSecurityContext }}
securityContext: