1
0
Fork 0
This repository has been archived on 2025-08-23. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
trz-sentry-demo-legacy/app/helm/templates/secret-docker.yml
2023-09-26 21:43:36 +00:00

11 lines
352 B
YAML

{{- if and (.Values.dockerRegistry) (.Values.dockerRegistryAuth) }}
apiVersion: v1
kind: Secret
type: kubernetes.io/dockerconfigjson
metadata:
name: sentry-demo-app-docker
labels:
release: {{ .Release.Name }}
stringData:
.dockerconfigjson: '{"auths": {"{{ .Values.dockerRegistry }}": {"auth": "{{ .Values.dockerRegistryAuth }}"}}}'
{{ end }}