mirror of
https://github.com/hanzoai/deploy.git
synced 2026-10-07 08:44:50 +00:00
This commit adds a lua script, which updates the health status of an application based on sealed secret's status Fixes: #4754 Signed-off-by: Chetan Banavikalmutt <[email protected]>
14 lines
366 B
YAML
14 lines
366 B
YAML
tests:
|
|
- healthStatus:
|
|
status: Progressing
|
|
message: "Waiting for Sealed Secret to be decrypted"
|
|
inputPath: testdata/progressing.yaml
|
|
- healthStatus:
|
|
status: Degraded
|
|
message: "no key could decrypt secret (.dockerconfigjson)"
|
|
inputPath: testdata/degraded.yaml
|
|
- healthStatus:
|
|
status: Healthy
|
|
message: ""
|
|
inputPath: testdata/healthy.yaml
|