forked from argoproj/argo-cd
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: cert-manager.io/certificate health.lua for consistent issuing (I…
…ssue argoproj#16523) (argoproj#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]>
- Loading branch information
1 parent
6c95ca9
commit 66bcdc3
Showing
3 changed files
with
45 additions
and
0 deletions.
There are no files selected for viewing
5 changes: 5 additions & 0 deletions
5
resource_customizations/cert-manager.io/Certificate/health.lua
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
36 changes: 36 additions & 0 deletions
36
resource_customizations/cert-manager.io/Certificate/testdata/progressing_issuing_last.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
apiVersion: cert-manager.io/v1alpha2 | ||
kind: Certificate | ||
metadata: | ||
creationTimestamp: '2018-11-07T00:06:12Z' | ||
generation: 1 | ||
name: test-cert | ||
namespace: argocd | ||
resourceVersion: '64763033' | ||
selfLink: /apis/cert-manager.io/v1alpha2/namespaces/argocd/certificates/test-cert | ||
uid: e6cfba50-314d-11e9-be3f-42010a800011 | ||
spec: | ||
acme: | ||
config: | ||
- domains: | ||
- cd.apps.argoproj.io | ||
http01: | ||
ingress: http01 | ||
commonName: cd.apps.argoproj.io | ||
dnsNames: | ||
- cd.apps.argoproj.io | ||
issuerRef: | ||
kind: Issuer | ||
name: argo-cd-issuer | ||
secretName: test-secret | ||
status: | ||
conditions: | ||
- lastTransitionTime: '2021-09-15T02:10:00Z' | ||
message: Issuing certificate as Secret does not exist | ||
reason: DoesNotExist | ||
status: 'False' | ||
type: Ready | ||
- lastTransitionTime: '2021-09-15T02:10:00Z' | ||
message: Issuing certificate as Secret does not exist | ||
reason: DoesNotExist | ||
status: 'True' | ||
type: Issuing |