diff --git a/deploy/manifests/00-crds.yaml b/deploy/manifests/00-crds.yaml index b0e25b165..f18bed93e 100644 --- a/deploy/manifests/00-crds.yaml +++ b/deploy/manifests/00-crds.yaml @@ -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 diff --git a/pkg/apis/certmanager/v1alpha1/types_certificate.go b/pkg/apis/certmanager/v1alpha1/types_certificate.go index a92a63074..a35ced2df 100644 --- a/pkg/apis/certmanager/v1alpha1/types_certificate.go +++ b/pkg/apis/certmanager/v1alpha1/types_certificate.go @@ -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 {