diff --git a/pkg/apis/scc.cattle.io/v1/types.go b/pkg/apis/scc.cattle.io/v1/types.go index 17d9cea..c270d7a 100644 --- a/pkg/apis/scc.cattle.io/v1/types.go +++ b/pkg/apis/scc.cattle.io/v1/types.go @@ -45,7 +45,7 @@ const ( // +kubebuilder:printcolumn:name="Mode",type=string,JSONPath=`.spec.mode` // +kubebuilder:printcolumn:name="Registration Active",type=boolean,JSONPath=`.status.activationStatus.activated` // +kubebuilder:printcolumn:name="System ID",type=integer,JSONPath=`.status.sccSystemID` -// +kubebuilder:printcolumn:name="Last Sync",type=date-time,JSONPath=".status.activationStatus.lastValidatedTS" +// +kubebuilder:printcolumn:name="Last Sync",type=date,JSONPath=".status.activationStatus.lastValidatedTS" // +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object type Registration struct { diff --git a/pkg/crds/yaml/generated/scc.cattle.io_registrations.yaml b/pkg/crds/yaml/generated/scc.cattle.io_registrations.yaml index 65d126f..d37a8f0 100644 --- a/pkg/crds/yaml/generated/scc.cattle.io_registrations.yaml +++ b/pkg/crds/yaml/generated/scc.cattle.io_registrations.yaml @@ -26,7 +26,7 @@ spec: type: integer - jsonPath: .status.activationStatus.lastValidatedTS name: Last Sync - type: date-time + type: date name: v1 schema: openAPIV3Schema: