Files
Chris MurrayandGitHub d6d4c48b59 fix: cert-manager.io/certificate health.lua for consistent issuing (Issue #16523) (#16520)
* Update cert-manager.opcertificate health.lua

Signed-off-by: Chris Murray <[email protected]>

* adding test case for cert issuing

Signed-off-by: Chris Murray <[email protected]>

* fixing typo

Signed-off-by: Chris Murray <[email protected]>

---------

Signed-off-by: Chris Murray <[email protected]>
2023-12-05 01:12:33 +05:30

27 lines
919 B
YAML

tests:
- healthStatus:
status: Progressing
message: Waiting for certificate
inputPath: testdata/progressing_noStatus.yaml
- healthStatus:
status: Progressing
message: Issuing certificate as Secret does not exist
inputPath: testdata/progressing_issuing.yaml
- healthStatus:
status: Progressing
message: Issuing certificate as Secret does not exist
inputPath: testdata/progressing_issuing_last.yaml
- healthStatus:
status: Degraded
message: 'Resource validation failed: spec.acme.config: Required value: no ACME
solver configuration specified for domain "cd.apps.argoproj.io"'
inputPath: testdata/degraded_configError.yaml
- healthStatus:
status: Healthy
message: 'Certificate issued successfully'
inputPath: testdata/healthy_issued.yaml
- healthStatus:
status: Healthy
message: 'Certificate renewed successfully'
inputPath: testdata/healthy_renewed.yaml