Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 0 additions & 20 deletions cmd/cluster.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down Expand Up @@ -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
}

Expand Down