Skip to content

Commit c3f8048

Browse files
committed
chore(registry): add registry-secret.yaml
1 parent 4fb25fc commit c3f8048

3 files changed

Lines changed: 21 additions & 24 deletions

File tree

charts/workflow/requirements.yaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,6 @@ dependencies:
4141
- name: registry-proxy
4242
version: <registry-proxy-tag>
4343
repository: https://charts.drycc.cc/stable/registry-proxy
44-
- name: registry-token-refresher
45-
version: <registry-token-refresher-tag>
46-
repository: https://charts.drycc.cc/stable/registry-token-refresher
4744
- name: workflow-manager
4845
version: <workflow-manager-tag>
4946
repository: https://charts.drycc.cc/stable/workflow-manager
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{{- if ne .Values.global.registry_location "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.registry_location }}"
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 }}

charts/workflow/values.yaml

Lines changed: 5 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -204,27 +204,11 @@ monitor:
204204
enabled: false # Set to true to enable persistence
205205
size: 20Gi # PVC size
206206

207-
registry-token-refresher:
208-
# Time in minutes after which the token should be refreshed.
209-
# Leave it empty to use the default provider time.
210-
token_refresh_time: ""
211-
off_cluster_registry:
212-
hostname: ""
213-
organization: ""
214-
username: ""
215-
password: ""
216-
ecr:
217-
# Your AWS access key. Leave it empty if you want to use IAM credentials.
218-
accesskey: ""
219-
# Your AWS secret key. Leave it empty if you want to use IAM credentials.
220-
secretkey: ""
221-
# Any S3 region
222-
region: "us-west-2"
223-
registryid: ""
224-
hostname: ""
225-
gcr:
226-
key_json: <base64-encoded JSON data>
227-
hostname: ""
207+
registry:
208+
hostname: ""
209+
organization: ""
210+
username: ""
211+
password: ""
228212

229213
router:
230214
dhparam: ""

0 commit comments

Comments
 (0)