Skip to content

Commit

Permalink
fix: removed default connect for headless vClusters
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Kosiewski committed Jun 18, 2024
1 parent 4b9acce commit f22da03
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pkg/cli/create_helm.go
Original file line number Diff line number Diff line change
Expand Up @@ -262,6 +262,10 @@ func CreateHelm(ctx context.Context, options *CreateOptions, globalFlags *flags.
return err
}

if vClusterConfig.Experimental.IsolatedControlPlane.Headless {
cmd.Connect = false
}

if isVClusterDeployed(release) {
// While certain backing store changes are allowed we prohibit changes to another distro.
if err := config.ValidateChanges(currentVClusterConfig, vClusterConfig); err != nil {
Expand Down

0 comments on commit f22da03

Please sign in to comment.