Skip to content

Commit

Permalink
create no default fo ha
Browse files Browse the repository at this point in the history
  • Loading branch information
qrnvttrl committed Sep 24, 2024
1 parent a5ccd92 commit 6a62b5e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion cmd/cluster.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 6a62b5e

Please sign in to comment.