We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fe2210d commit 1b324d4Copy full SHA for 1b324d4
1 file changed
charts/registry/templates/registry-secret.yaml
@@ -0,0 +1,16 @@
1
+{{- if ne .Values.global.registryLocation "on-cluster" }}
2
+apiVersion: v1
3
+kind: Secret
4
+metadata:
5
+ name: registry-secret
6
+ labels:
7
+ heritage: drycc
8
+ annotations:
9
+ drycc.cc/registry-location: "{{ .Values.global.registryLocation }}"
10
+type: Opaque
11
+data:
12
+ hostname: {{ .Values.registry.hostname | b64enc }}
13
+ organization: {{ .Values.registry.organization | b64enc }}
14
+ username: {{ .Values.registry.username | b64enc }}
15
+ password: {{ .Values.registry.password | b64enc }}
16
+{{- end }}
0 commit comments