Skip to content

Commit 753cf44

Browse files
committed
chore(builder): add check storage health
1 parent 0605945 commit 753cf44

2 files changed

Lines changed: 7 additions & 2 deletions

File tree

charts/builder/templates/_helpers.tpl

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

charts/builder/templates/builder-deployment.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ spec:
3333
args:
3434
- netcat
3535
- -v
36-
- -u
37-
- $(DRYCC_STORAGE_ENDPOINT)
36+
- -g
37+
- $(DRYCC_STORAGE_HEALTH)
3838
{{- include "builder.envs" . | indent 8 }}
3939
containers:
4040
- name: drycc-builder

0 commit comments

Comments
 (0)