Use Swarm default registry creds (manage-images) and configurations.yml placeholders
Made-with: Cursor
This commit is contained in:
13
gitops/charts/onelab/templates/secret-registry.yaml
Normal file
13
gitops/charts/onelab/templates/secret-registry.yaml
Normal file
@@ -0,0 +1,13 @@
|
||||
{{- if .Values.registry.createPullSecret }}
|
||||
apiVersion: v1
|
||||
kind: Secret
|
||||
metadata:
|
||||
name: {{ .Values.registry.pullSecretName }}
|
||||
labels:
|
||||
{{- include "onelab.labels" . | nindent 4 }}
|
||||
annotations:
|
||||
argocd.argoproj.io/sync-wave: {{ .Values.syncWaves.registry | quote }}
|
||||
type: kubernetes.io/dockerconfigjson
|
||||
data:
|
||||
.dockerconfigjson: {{ include "onelab.dockerconfigjson" . | b64enc }}
|
||||
{{- end }}
|
||||
Reference in New Issue
Block a user