This commit is contained in:
ychangkim
2025-07-09 14:14:38 +09:00
parent ef8cf5771c
commit 2003279869
11 changed files with 300 additions and 0 deletions
@@ -0,0 +1,14 @@
{{- if eq .Values.existingImagePullSecret "" }}
{{- range .Values.imagePullSecrets }}
---
apiVersion: v1
kind: Secret
metadata:
name: {{ .name }}
labels:
{{- include "nim.labels" $ | nindent 4 }}
type: kubernetes.io/dockerconfigjson
data:
.dockerconfigjson: {{ printf "{\"auths\":{\"%s\":{\"username\":\"%s\",\"password\":\"%s\",\"auth\":\"%s\"}}}" .registry .username .password (printf "%s:%s" .username .password | b64enc) | b64enc | quote }}
{{- end }}
{{- end }}