diff --git a/charts/controller/crds/deployments.plural.sh_globalservices.yaml b/charts/controller/crds/deployments.plural.sh_globalservices.yaml index 40c434ca74..116ed73944 100644 --- a/charts/controller/crds/deployments.plural.sh_globalservices.yaml +++ b/charts/controller/crds/deployments.plural.sh_globalservices.yaml @@ -51,7 +51,7 @@ spec: description: Whether you want to delete owned resources in Plural and in the targeted k8s cluster type: boolean - detach.omitempty: + detach: description: Whether you want to delete owned resources in Plural but leave kubernetes objects in-place type: boolean diff --git a/charts/controller/crds/deployments.plural.sh_managednamespaces.yaml b/charts/controller/crds/deployments.plural.sh_managednamespaces.yaml index 29ca23f640..dad3526dbd 100644 --- a/charts/controller/crds/deployments.plural.sh_managednamespaces.yaml +++ b/charts/controller/crds/deployments.plural.sh_managednamespaces.yaml @@ -51,7 +51,7 @@ spec: description: Whether you want to delete owned resources in Plural and in the targeted k8s cluster type: boolean - detach.omitempty: + detach: description: Whether you want to delete owned resources in Plural but leave kubernetes objects in-place type: boolean diff --git a/controller/api/v1alpha1/globalservice_types.go b/controller/api/v1alpha1/globalservice_types.go index c9493ecb9c..7a8b9e2859 100644 --- a/controller/api/v1alpha1/globalservice_types.go +++ b/controller/api/v1alpha1/globalservice_types.go @@ -31,7 +31,7 @@ func init() { type Cascade struct { // Whether you want to delete owned resources in Plural but leave kubernetes objects in-place // +kubebuilder:validation:Optional - Detach *bool `json:"detach.omitempty"` + Detach *bool `json:"detach,omitempty"` // Whether you want to delete owned resources in Plural and in the targeted k8s cluster // +kubebuilder:validation:Optional diff --git a/controller/config/crd/bases/deployments.plural.sh_globalservices.yaml b/controller/config/crd/bases/deployments.plural.sh_globalservices.yaml index 40c434ca74..116ed73944 100644 --- a/controller/config/crd/bases/deployments.plural.sh_globalservices.yaml +++ b/controller/config/crd/bases/deployments.plural.sh_globalservices.yaml @@ -51,7 +51,7 @@ spec: description: Whether you want to delete owned resources in Plural and in the targeted k8s cluster type: boolean - detach.omitempty: + detach: description: Whether you want to delete owned resources in Plural but leave kubernetes objects in-place type: boolean diff --git a/controller/config/crd/bases/deployments.plural.sh_managednamespaces.yaml b/controller/config/crd/bases/deployments.plural.sh_managednamespaces.yaml index 29ca23f640..dad3526dbd 100644 --- a/controller/config/crd/bases/deployments.plural.sh_managednamespaces.yaml +++ b/controller/config/crd/bases/deployments.plural.sh_managednamespaces.yaml @@ -51,7 +51,7 @@ spec: description: Whether you want to delete owned resources in Plural and in the targeted k8s cluster type: boolean - detach.omitempty: + detach: description: Whether you want to delete owned resources in Plural but leave kubernetes objects in-place type: boolean diff --git a/controller/docs/api.md b/controller/docs/api.md index 491a7762f7..dca3e58db3 100644 --- a/controller/docs/api.md +++ b/controller/docs/api.md @@ -82,7 +82,7 @@ _Appears in:_ | Field | Description | Default | Validation | | --- | --- | --- | --- | -| `detach.omitempty` _boolean_ | Whether you want to delete owned resources in Plural but leave kubernetes objects in-place | | Optional: {}
| +| `detach` _boolean_ | Whether you want to delete owned resources in Plural but leave kubernetes objects in-place | | Optional: {}
| | `delete` _boolean_ | Whether you want to delete owned resources in Plural and in the targeted k8s cluster | | Optional: {}
| diff --git a/plural/helm/console/crds/deployments.plural.sh_globalservices.yaml b/plural/helm/console/crds/deployments.plural.sh_globalservices.yaml index 40c434ca74..116ed73944 100644 --- a/plural/helm/console/crds/deployments.plural.sh_globalservices.yaml +++ b/plural/helm/console/crds/deployments.plural.sh_globalservices.yaml @@ -51,7 +51,7 @@ spec: description: Whether you want to delete owned resources in Plural and in the targeted k8s cluster type: boolean - detach.omitempty: + detach: description: Whether you want to delete owned resources in Plural but leave kubernetes objects in-place type: boolean diff --git a/plural/helm/console/crds/deployments.plural.sh_managednamespaces.yaml b/plural/helm/console/crds/deployments.plural.sh_managednamespaces.yaml index 29ca23f640..dad3526dbd 100644 --- a/plural/helm/console/crds/deployments.plural.sh_managednamespaces.yaml +++ b/plural/helm/console/crds/deployments.plural.sh_managednamespaces.yaml @@ -51,7 +51,7 @@ spec: description: Whether you want to delete owned resources in Plural and in the targeted k8s cluster type: boolean - detach.omitempty: + detach: description: Whether you want to delete owned resources in Plural but leave kubernetes objects in-place type: boolean