Files
Alexandre GaudreaultandGitHub 49ae4a5546 feat(health): add PushSecret health status and force-sync action (#14375)
* feat(health): add `PushSecret` health status

Signed-off-by: Alexandre Gaudreault <[email protected]>

* add status healthy

Signed-off-by: Alexandre Gaudreault <[email protected]>

* Push action

Signed-off-by: Alexandre Gaudreault <[email protected]>

* fix test

Signed-off-by: Alexandre Gaudreault <[email protected]>

---------

Signed-off-by: Alexandre Gaudreault <[email protected]>
2023-09-25 10:41:24 -04:00

14 lines
460 B
YAML

tests:
- healthStatus:
status: Progressing
message: Waiting for PushSecret
inputPath: testdata/progressing.yaml
- healthStatus:
status: Degraded
message: 'set secret failed: could not write remote ref test to target secretstore my-store: Error making API request.'
inputPath: testdata/degraded.yaml
- healthStatus:
status: Healthy
message: 'PushSecret synced successfully'
inputPath: testdata/healthy.yaml