From 92c8299ea149761e302d9006c1dc39648a60ad73 Mon Sep 17 00:00:00 2001 From: Markus Wennrich Date: Wed, 29 Jul 2026 06:54:01 +0200 Subject: [PATCH] fix: remove deprecated warning for audit-cluster-forwarding in combination with ha-control-plane --- cmd/cluster.go | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/cmd/cluster.go b/cmd/cluster.go index a7f1bede..0432798a 100644 --- a/cmd/cluster.go +++ b/cmd/cluster.go @@ -741,16 +741,6 @@ WARNING: You are going to create a cluster that has no default internet access w } if viper.IsSet("high-availability-control-plane") { - if ha, _ := strconv.ParseBool(highAvailability); ha { - if err := genericcli.PromptCustom(&genericcli.PromptConfig{ - Message: "You cannot use the high availability control plane feature gate in combination with the cluster forwarding backend of the audit extension. Please be aware that you cannot revert this feature gate after it was enabled.", - ShowAnswers: true, - Out: c.out, - }); err != nil { - return err - } - } - scr.ClusterFeatures.HighAvailability = &highAvailability } @@ -1099,16 +1089,6 @@ func (c *config) updateCluster(args []string) error { clusterFeatures.CalicoEbpfDataplane = &calicoEbpf } if viper.IsSet("high-availability-control-plane") { - if v, _ := strconv.ParseBool(highAvailability); v { - if err := genericcli.PromptCustom(&genericcli.PromptConfig{ - Message: "You cannot use the high availability control plane feature gate in combination with the cluster forwarding backend of the audit extension. Please be aware that you cannot revert this feature gate after it was enabled.", - ShowAnswers: true, - Out: c.out, - }); err != nil { - return err - } - } - clusterFeatures.HighAvailability = &highAvailability }