Skip to content

Commit

Permalink
Merge pull request #4757 from vincepri/unserve-v1beta1
Browse files Browse the repository at this point in the history
⚠️ Stop serving v1beta1 API types
  • Loading branch information
k8s-ci-robot authored Feb 7, 2024
2 parents ff8cb13 + 827ee1d commit 80bd9ec
Show file tree
Hide file tree
Showing 24 changed files with 38 additions and 13 deletions.
2 changes: 2 additions & 0 deletions api/v1beta1/awscluster_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,7 @@ type S3Bucket struct {
}

// +kubebuilder:object:root=true
// +kubebuilder:unservedversion
// +kubebuilder:resource:path=awsclusters,scope=Namespaced,categories=cluster-api,shortName=awsc
// +kubebuilder:subresource:status
// +kubebuilder:printcolumn:name="Cluster",type="string",JSONPath=".metadata.labels.cluster\\.x-k8s\\.io/cluster-name",description="Cluster to which this AWSCluster belongs"
Expand All @@ -240,6 +241,7 @@ type AWSCluster struct {
}

// +kubebuilder:object:root=true
// +kubebuilder:unservedversion

// AWSClusterList contains a list of AWSCluster.
type AWSClusterList struct {
Expand Down
1 change: 1 addition & 0 deletions api/v1beta1/awsclustertemplate_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ type AWSClusterTemplateSpec struct {
}

// +kubebuilder:object:root=true
// +kubebuilder:unservedversion
// +kubebuilder:resource:path=awsclustertemplates,scope=Namespaced,categories=cluster-api,shortName=awsct
// +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp",description="Time duration since creation of AWSClusterTemplate"

Expand Down
6 changes: 6 additions & 0 deletions api/v1beta1/awsidentity_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ type AWSRoleSpec struct {
}

// +kubebuilder:object:root=true
// +kubebuilder:unservedversion
// +kubebuilder:resource:path=awsclusterstaticidentities,scope=Cluster,categories=cluster-api,shortName=awssi

// AWSClusterStaticIdentity is the Schema for the awsclusterstaticidentities API
Expand All @@ -83,6 +84,7 @@ type AWSClusterStaticIdentity struct {
}

// +kubebuilder:object:root=true
// +kubebuilder:unservedversion

// AWSClusterStaticIdentityList contains a list of AWSClusterStaticIdentity.
type AWSClusterStaticIdentityList struct {
Expand All @@ -103,6 +105,7 @@ type AWSClusterStaticIdentitySpec struct {
}

// +kubebuilder:object:root=true
// +kubebuilder:unservedversion
// +kubebuilder:resource:path=awsclusterroleidentities,scope=Cluster,categories=cluster-api,shortName=awsri

// AWSClusterRoleIdentity is the Schema for the awsclusterroleidentities API
Expand All @@ -116,6 +119,7 @@ type AWSClusterRoleIdentity struct {
}

// +kubebuilder:object:root=true
// +kubebuilder:unservedversion

// AWSClusterRoleIdentityList contains a list of AWSClusterRoleIdentity.
type AWSClusterRoleIdentityList struct {
Expand Down Expand Up @@ -146,6 +150,7 @@ type AWSClusterRoleIdentitySpec struct {
}

// +kubebuilder:object:root=true
// +kubebuilder:unservedversion
// +kubebuilder:resource:path=awsclustercontrolleridentities,scope=Cluster,categories=cluster-api,shortName=awsci

// AWSClusterControllerIdentity is the Schema for the awsclustercontrolleridentities API
Expand All @@ -159,6 +164,7 @@ type AWSClusterControllerIdentity struct {
}

// +kubebuilder:object:root=true
// +kubebuilder:unservedversion

// AWSClusterControllerIdentityList contains a list of AWSClusterControllerIdentity.
type AWSClusterControllerIdentityList struct {
Expand Down
2 changes: 2 additions & 0 deletions api/v1beta1/awsmachine_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -258,6 +258,7 @@ type AWSMachineStatus struct {
}

// +kubebuilder:object:root=true
// +kubebuilder:unservedversion
// +kubebuilder:resource:path=awsmachines,scope=Namespaced,categories=cluster-api,shortName=awsm
// +kubebuilder:subresource:status
// +kubebuilder:printcolumn:name="Cluster",type="string",JSONPath=".metadata.labels.cluster\\.x-k8s\\.io/cluster-name",description="Cluster to which this AWSMachine belongs"
Expand Down Expand Up @@ -286,6 +287,7 @@ func (r *AWSMachine) SetConditions(conditions clusterv1.Conditions) {
}

// +kubebuilder:object:root=true
// +kubebuilder:unservedversion

// AWSMachineList contains a list of Amazon EC2 machines.
type AWSMachineList struct {
Expand Down
2 changes: 2 additions & 0 deletions api/v1beta1/awsmachinetemplate_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ type AWSMachineTemplateSpec struct {
}

// +kubebuilder:object:root=true
// +kubebuilder:unservedversion
// +kubebuilder:resource:path=awsmachinetemplates,scope=Namespaced,categories=cluster-api,shortName=awsmt

// AWSMachineTemplate is the schema for the Amazon EC2 Machine Templates API.
Expand All @@ -50,6 +51,7 @@ type AWSMachineTemplate struct {
}

// +kubebuilder:object:root=true
// +kubebuilder:unservedversion

// AWSMachineTemplateList contains a list of AWSMachineTemplate.
type AWSMachineTemplateList struct {
Expand Down
2 changes: 2 additions & 0 deletions bootstrap/eks/api/v1beta1/eksconfig_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ type EKSConfigStatus struct {
}

// +kubebuilder:object:root=true
// +kubebuilder:unservedversion
// +kubebuilder:resource:path=eksconfigs,scope=Namespaced,categories=cluster-api,shortName=eksc
// +kubebuilder:subresource:status
// +kubebuilder:printcolumn:name="Ready",type="string",JSONPath=".status.ready",description="Bootstrap configuration is ready"
Expand All @@ -113,6 +114,7 @@ func (r *EKSConfig) SetConditions(conditions clusterv1.Conditions) {
}

// +kubebuilder:object:root=true
// +kubebuilder:unservedversion

// EKSConfigList contains a list of EKSConfig.
type EKSConfigList struct {
Expand Down
2 changes: 2 additions & 0 deletions bootstrap/eks/api/v1beta1/eksconfigtemplate_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ type EKSConfigTemplateResource struct {
}

// +kubebuilder:object:root=true
// +kubebuilder:unservedversion
// +kubebuilder:resource:path=eksconfigtemplates,scope=Namespaced,categories=cluster-api,shortName=eksct

// EKSConfigTemplate is the Amazon EKS Bootstrap Configuration Template API.
Expand All @@ -42,6 +43,7 @@ type EKSConfigTemplate struct {
}

// +kubebuilder:object:root=true
// +kubebuilder:unservedversion

// EKSConfigTemplateList contains a list of Amazon EKS Bootstrap Configuration Templates.
type EKSConfigTemplateList struct {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ spec:
type: boolean
type: object
type: object
served: true
served: false
storage: false
subresources:
status: {}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ spec:
- template
type: object
type: object
served: true
served: false
storage: false
- name: v1beta2
schema:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1861,7 +1861,7 @@ spec:
- ready
type: object
type: object
served: true
served: false
storage: false
subresources:
status: {}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ spec:
type: object
type: object
type: object
served: true
served: false
storage: false
- name: v1beta2
schema:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ spec:
- roleARN
type: object
type: object
served: true
served: false
storage: false
- name: v1beta2
schema:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -860,7 +860,7 @@ spec:
- ready
type: object
type: object
served: true
served: false
storage: false
subresources:
status: {}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ spec:
- secretRef
type: object
type: object
served: true
served: false
storage: false
- name: v1beta2
schema:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -442,7 +442,7 @@ spec:
- template
type: object
type: object
served: true
served: false
storage: false
subresources: {}
- additionalPrinterColumns:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ spec:
- ready
type: object
type: object
served: true
served: false
storage: false
subresources:
status: {}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -481,7 +481,7 @@ spec:
type: integer
type: object
type: object
served: true
served: false
storage: false
subresources:
status: {}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -485,7 +485,7 @@ spec:
type: boolean
type: object
type: object
served: true
served: false
storage: false
subresources:
status: {}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -420,7 +420,7 @@ spec:
type: object
type: object
type: object
served: true
served: false
storage: false
- name: v1beta2
schema:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -462,7 +462,7 @@ spec:
- ready
type: object
type: object
served: true
served: false
storage: false
subresources:
status: {}
Expand Down
2 changes: 2 additions & 0 deletions controlplane/eks/api/v1beta1/awsmanagedcontrolplane_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -276,6 +276,7 @@ type AWSManagedControlPlaneStatus struct {
}

// +kubebuilder:object:root=true
// +kubebuilder:unservedversion
// +kubebuilder:resource:path=awsmanagedcontrolplanes,shortName=awsmcp,scope=Namespaced,categories=cluster-api
// +kubebuilder:subresource:status
// +kubebuilder:printcolumn:name="Cluster",type="string",JSONPath=".metadata.labels.cluster\\.x-k8s\\.io/cluster-name",description="Cluster to which this AWSManagedControl belongs"
Expand All @@ -294,6 +295,7 @@ type AWSManagedControlPlane struct {
}

// +kubebuilder:object:root=true
// +kubebuilder:unservedversion

// AWSManagedControlPlaneList contains a list of Amazon EKS Managed Control Planes.
type AWSManagedControlPlaneList struct {
Expand Down
2 changes: 2 additions & 0 deletions exp/api/v1beta1/awsfargateprofile_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@ type FargateProfileStatus struct {
}

// +kubebuilder:object:root=true
// +kubebuilder:unservedversion
// +kubebuilder:resource:path=awsfargateprofiles,scope=Namespaced,categories=cluster-api,shortName=awsfp
// +kubebuilder:subresource:status
// +kubebuilder:printcolumn:name="Ready",type="string",JSONPath=".status.ready",description="AWSFargateProfile ready status"
Expand All @@ -149,6 +150,7 @@ func (r *AWSFargateProfile) SetConditions(conditions clusterv1.Conditions) {
}

// +kubebuilder:object:root=true
// +kubebuilder:unservedversion

// AWSFargateProfileList contains a list of FargateProfiles.
type AWSFargateProfileList struct {
Expand Down
2 changes: 2 additions & 0 deletions exp/api/v1beta1/awsmachinepool_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,7 @@ type AWSMachinePoolInstanceStatus struct {
}

// +kubebuilder:object:root=true
// +kubebuilder:unservedversion
// +kubebuilder:subresource:status
// +kubebuilder:resource:path=awsmachinepools,scope=Namespaced,categories=cluster-api,shortName=awsmp
// +kubebuilder:printcolumn:name="Ready",type="string",JSONPath=".status.ready",description="Machine ready status"
Expand All @@ -201,6 +202,7 @@ type AWSMachinePool struct {
}

// +kubebuilder:object:root=true
// +kubebuilder:unservedversion

// AWSMachinePoolList contains a list of AWSMachinePool.
type AWSMachinePoolList struct {
Expand Down
2 changes: 2 additions & 0 deletions exp/api/v1beta1/awsmanagedmachinepool_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -234,6 +234,7 @@ type AWSManagedMachinePoolStatus struct {
}

// +kubebuilder:object:root=true
// +kubebuilder:unservedversion
// +kubebuilder:resource:path=awsmanagedmachinepools,scope=Namespaced,categories=cluster-api,shortName=awsmmp
// +kubebuilder:subresource:status
// +kubebuilder:printcolumn:name="Ready",type="string",JSONPath=".status.ready",description="MachinePool ready status"
Expand All @@ -259,6 +260,7 @@ func (r *AWSManagedMachinePool) SetConditions(conditions clusterv1.Conditions) {
}

// +kubebuilder:object:root=true
// +kubebuilder:unservedversion

// AWSManagedMachinePoolList contains a list of AWSManagedMachinePools.
type AWSManagedMachinePoolList struct {
Expand Down

0 comments on commit 80bd9ec

Please sign in to comment.