Skip to content

Commit aaad1e0

Browse files
authored
Merge pull request #1494 from fluxcd/remove-v1beta1-api
Remove deprecated APIs in group `kustomize.toolkit.fluxcd.io/v1beta1`
2 parents 60b8f86 + c8b9d82 commit aaad1e0

File tree

3 files changed

+4
-574
lines changed

3 files changed

+4
-574
lines changed

api/v1beta1/doc.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@ limitations under the License.
1515
*/
1616

1717
// Package v1beta1 contains API Schema definitions for the kustomize v1beta1 API group
18+
//
19+
// Deprecated: v1beta1 is no longer supported, use v1 instead.
20+
//
1821
// +kubebuilder:object:generate=true
1922
// +groupName=kustomize.toolkit.fluxcd.io
2023
package v1beta1

api/v1beta1/kustomization_types.go

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -272,12 +272,7 @@ const (
272272

273273
// +genclient
274274
// +kubebuilder:object:root=true
275-
// +kubebuilder:resource:shortName=ks
276-
// +kubebuilder:subresource:status
277-
// +kubebuilder:printcolumn:name="Ready",type="string",JSONPath=".status.conditions[?(@.type==\"Ready\")].status",description=""
278-
// +kubebuilder:printcolumn:name="Status",type="string",JSONPath=".status.conditions[?(@.type==\"Ready\")].message",description=""
279-
// +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp",description=""
280-
// +kubebuilder:deprecatedversion:warning="v1beta1 Kustomization is deprecated, upgrade to v1"
275+
// +kubebuilder:skipversion
281276

282277
// Kustomization is the Schema for the kustomizations API.
283278
type Kustomization struct {

0 commit comments

Comments
 (0)