Skip to content

Commit 1343768

Browse files
authored
Merge pull request #1584 from fluxcd/remove-v1beta2-api
Remove deprecated APIs in group `kustomize.toolkit.fluxcd.io/v1beta2`
2 parents c0589b4 + 64558eb commit 1343768

5 files changed

Lines changed: 4 additions & 674 deletions

File tree

PROJECT

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,4 @@ resources:
44
- group: kustomize
55
kind: Kustomization
66
version: v1
7-
- group: kustomize
8-
kind: Kustomization
9-
version: v1beta2
10-
- group: kustomize
11-
kind: Kustomization
12-
version: v1beta1
137
version: "2"

README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,9 @@ the controller performs actions to reconcile the cluster current state with the
3232
* runs `Kustomizations` in a specific order, taking into account the depends-on relationship
3333
* notifies whenever a `Kustomization` status changes
3434

35-
## Specifications
35+
## Specification
3636

37-
* [API](docs/spec/v1/README.md)
38-
* [Controller](docs/spec/README.md)
37+
[Kustomization API](docs/spec/v1/kustomizations.md)
3938

4039
## Guides
4140

api/v1beta2/kustomization_types.go

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -305,12 +305,7 @@ func (in *Kustomization) GetStatusConditions() *[]metav1.Condition {
305305

306306
// +genclient
307307
// +kubebuilder:object:root=true
308-
// +kubebuilder:resource:shortName=ks
309-
// +kubebuilder:subresource:status
310-
// +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp",description=""
311-
// +kubebuilder:printcolumn:name="Ready",type="string",JSONPath=".status.conditions[?(@.type==\"Ready\")].status",description=""
312-
// +kubebuilder:printcolumn:name="Status",type="string",JSONPath=".status.conditions[?(@.type==\"Ready\")].message",description=""
313-
// +kubebuilder:deprecatedversion:warning="v1beta2 Kustomization is deprecated, upgrade to v1"
308+
// +kubebuilder:skipversion
314309

315310
// Kustomization is the Schema for the kustomizations API.
316311
type Kustomization struct {

0 commit comments

Comments
 (0)