Files
Chetan BanavikalmuttandGitHub 4fb86f5480 feat: Add health check for Sealed Secrets (#5503)
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]>
2021-02-12 09:16:39 +01:00

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