diff --git a/apis/object/v1alpha1/types.go b/apis/object/v1alpha1/types.go index 86b4cdfa..c22ea2ff 100644 --- a/apis/object/v1alpha1/types.go +++ b/apis/object/v1alpha1/types.go @@ -174,6 +174,8 @@ type ObjectStatus struct { // +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" // +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" // +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,kubernetes} +// +kubebuilder:deprecatedversion +// Deprecated: v1alpha1.Object is deprecated in favor of v1beta1.Object type Object struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` diff --git a/package/crds/kubernetes.crossplane.io_objects.yaml b/package/crds/kubernetes.crossplane.io_objects.yaml index 90ccd805..e701fd17 100644 --- a/package/crds/kubernetes.crossplane.io_objects.yaml +++ b/package/crds/kubernetes.crossplane.io_objects.yaml @@ -54,10 +54,12 @@ spec: - jsonPath: .metadata.creationTimestamp name: AGE type: date + deprecated: true name: v1alpha1 schema: openAPIV3Schema: - description: A Object is an provider Kubernetes API type + description: 'A Object is an provider Kubernetes API type Deprecated: v1alpha1.Object + is deprecated in favor of v1beta1.Object' properties: apiVersion: description: 'APIVersion defines the versioned schema of this representation