Fix escape in resource def
Signed-off-by: snobu <foo@snobu.org> Fixes https://github.com/jetstack/cert-manager/issues/1473
This commit is contained in:
parent
ff19e63ea4
commit
ca725be382
@ -7,7 +7,7 @@ metadata:
|
||||
name: certificates.certmanager.k8s.io
|
||||
spec:
|
||||
additionalPrinterColumns:
|
||||
- JSONPath: .status.conditions[?(@.type==\"Ready\")].status
|
||||
- JSONPath: .status.conditions[?(@.type=="Ready")].status
|
||||
name: Ready
|
||||
type: string
|
||||
- JSONPath: .spec.secretName
|
||||
@ -17,7 +17,7 @@ spec:
|
||||
name: Issuer
|
||||
priority: 1
|
||||
type: string
|
||||
- JSONPath: .status.conditions[?(@.type==\"Ready\")].message
|
||||
- JSONPath: .status.conditions[?(@.type=="Ready")].message
|
||||
name: Status
|
||||
priority: 1
|
||||
type: string
|
||||
|
||||
@ -23,10 +23,10 @@ import metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
||||
|
||||
// Certificate is a type to represent a Certificate from ACME
|
||||
// +k8s:openapi-gen=true
|
||||
// +kubebuilder:printcolumn:name="Ready",type="string",JSONPath=".status.conditions[?(@.type==\"Ready\")].status",description=""
|
||||
// +kubebuilder:printcolumn:name="Ready",type="string",JSONPath=".status.conditions[?(@.type=="Ready")].status",description=""
|
||||
// +kubebuilder:printcolumn:name="Secret",type="string",JSONPath=".spec.secretName",description=""
|
||||
// +kubebuilder:printcolumn:name="Issuer",type="string",JSONPath=".spec.issuerRef.name",description="",priority=1
|
||||
// +kubebuilder:printcolumn:name="Status",type="string",JSONPath=".status.conditions[?(@.type==\"Ready\")].message",priority=1
|
||||
// +kubebuilder:printcolumn:name="Status",type="string",JSONPath=".status.conditions[?(@.type=="Ready")].message",priority=1
|
||||
// +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp",description="CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC."
|
||||
// +kubebuilder:resource:path=certificates,shortName=cert;certs
|
||||
type Certificate struct {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user