From 6a62b5e7d2c75d3bb4de3b749ea1acabd9c515c2 Mon Sep 17 00:00:00 2001 From: Quirin Vetterl Date: Tue, 24 Sep 2024 11:53:49 +0200 Subject: [PATCH] create no default fo ha --- cmd/cluster.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/cmd/cluster.go b/cmd/cluster.go index 12374aa..47fb0a6 100644 --- a/cmd/cluster.go +++ b/cmd/cluster.go @@ -598,7 +598,6 @@ WARNING: You are going to create a cluster that has no default internet access w ClusterFeatures: &models.V1ClusterFeatures{ LogAcceptedConnections: &logAcceptedConnections, DurosStorageEncryption: &encryptedStorageClasses, - HighAvailability: &highAvailability, }, CustomDefaultStorageClass: customDefaultStorageClass, Cni: cni, @@ -677,6 +676,10 @@ WARNING: You are going to create a cluster that has no default internet access w } } + if viper.IsSet("high-availability") { + scr.ClusterFeatures.HighAvailability = &highAvailability + } + egressRules := makeEgressRules(egress) if len(egressRules) > 0 { scr.EgressRules = egressRules