Add new infra architecture 5
This commit is contained in:
@@ -28,6 +28,7 @@ metadata:
|
||||
note: "Registry credentials for pushing images"
|
||||
type: kubernetes.io/dockerconfigjson
|
||||
stringData:
|
||||
{{- if and .Values.secrets.registry.registryUrl .Values.secrets.registry.username .Values.secrets.registry.password }}
|
||||
.dockerconfigjson: |
|
||||
{
|
||||
"auths": {
|
||||
@@ -37,6 +38,9 @@ stringData:
|
||||
}
|
||||
}
|
||||
}
|
||||
{{- else }}
|
||||
.dockerconfigjson: '{"auths":{}}'
|
||||
{{- end }}
|
||||
---
|
||||
# Secret for Git credentials (used by pipeline to push GitOps updates)
|
||||
apiVersion: v1
|
||||
|
||||
Reference in New Issue
Block a user