-
Notifications
You must be signed in to change notification settings - Fork 5.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: check for issuing condition on Certificate (#7217)
Signed-off-by: Jonah Back <jonah@jonahback.com> Co-authored-by: Alexander Matyushentsev <AMatyushentsev@gmail.com>
- Loading branch information
Showing
3 changed files
with
46 additions
and
0 deletions.
There are no files selected for viewing
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
37 changes: 37 additions & 0 deletions
37
resource_customizations/cert-manager.io/Certificate/testdata/progressing_issuing.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,37 @@ | ||
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: 'True' | ||
type: Issuing | ||
- lastTransitionTime: '2021-09-15T02:10:00Z' | ||
message: Issuing certificate as Secret does not exist | ||
reason: DoesNotExist | ||
status: 'False' | ||
type: Ready | ||
|