add image pull secret support (#1127)

Co-authored-by: houseme <housemecn@gmail.com>
This commit is contained in:
majinghe
2025-12-12 20:25:25 +08:00
committed by GitHub
parent 0bf25fdefa
commit 08be8f5472
6 changed files with 63 additions and 18 deletions
+4
View File
@@ -15,6 +15,10 @@ spec:
labels:
app: {{ include "rustfs.name" . }}
spec:
{{- if .Values.imageRegistryCredentials.enabled }}
imagePullSecrets:
- name: {{ .Values.imagePullSecrets }}
{{- end }}
{{- if .Values.podSecurityContext }}
securityContext:
{{- toYaml .Values.podSecurityContext | nindent 12 }}