Skip to content

Commit f987e2f

Browse files
committed
chore(database): add check storage health
1 parent b7dda45 commit f987e2f

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

charts/database/templates/_helper.tpl

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,11 @@ env:
1919
secretKeyRef:
2020
name: storage-creds
2121
key: lookup
22+
- name: "DRYCC_STORAGE_HEALTH"
23+
valueFrom:
24+
secretKeyRef:
25+
name: storage-creds
26+
key: health
2227
- name: "DRYCC_STORAGE_BUCKET"
2328
valueFrom:
2429
secretKeyRef:

charts/database/templates/database-deployment.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ spec:
3232
- netcat
3333
- -v
3434
- -u
35-
- $(DRYCC_STORAGE_ENDPOINT)
35+
- $(DRYCC_STORAGE_HEALTH)
3636
{{- include "database.envs" . | indent 8 }}
3737
containers:
3838
- name: drycc-database

0 commit comments

Comments
 (0)