Skip to content

Commit 1b324d4

Browse files
committed
chore(registry): move registry-secret.yaml from workflow to registry
1 parent fe2210d commit 1b324d4

1 file changed

Lines changed: 16 additions & 0 deletions

File tree

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)