Skip to content

Commit 1035789

Browse files
committed
chore(registry): add check storage health
1 parent 2e60247 commit 1035789

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

charts/registry/templates/_helper.tpl

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,11 @@ env:
2929
secretKeyRef:
3030
name: storage-creds
3131
key: lookup
32+
- name: "DRYCC_STORAGE_HEALTH"
33+
valueFrom:
34+
secretKeyRef:
35+
name: storage-creds
36+
key: health
3237
- name: "DRYCC_STORAGE_BUCKET"
3338
valueFrom:
3439
secretKeyRef:

charts/registry/templates/registry-deployment.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ spec:
3535
- netcat
3636
- -v
3737
- -u
38-
- $(DRYCC_STORAGE_ENDPOINT)
38+
- $(DRYCC_STORAGE_HEALTH)
3939
{{- include "registry.envs" . | indent 8 }}
4040
containers:
4141
- name: drycc-registry

0 commit comments

Comments
 (0)