Skip to content

Commit 70e5bf3

Browse files
committed
add field to v1beta2
1 parent 90edd81 commit 70e5bf3

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

controlplane/eks/api/v1beta2/awsmanagedcontrolplane_types.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -202,6 +202,11 @@ type AWSManagedControlPlaneSpec struct { //nolint: maligned
202202
// +kubebuilder:default=true
203203
BootstrapSelfManagedAddons bool `json:"bootstrapSelfManagedAddons,omitempty"`
204204

205+
// PreserveAddons is used to set configuration options for preserving EKS addons
206+
// If you set this value to true and remove an addon from the spec, it will not be deleted from the cluster.
207+
// +kubebuilder:default=false
208+
PreserveAddons bool `json:"preserveAddons,omitempty"`
209+
205210
// RestrictPrivateSubnets indicates that the EKS control plane should only use private subnets.
206211
// +kubebuilder:default=false
207212
RestrictPrivateSubnets bool `json:"restrictPrivateSubnets,omitempty"`

0 commit comments

Comments
 (0)