Skip to content

Commit

Permalink
Merge pull request #1874 from loft-sh/thomaskosiewski/eng-3677-vclust…
Browse files Browse the repository at this point in the history
…er-cli-is-unable-to-createfind-headless-vclusters

fix: removed default connect for headless vClusters
  • Loading branch information
FabianKramm authored Jun 18, 2024
2 parents 4b9acce + f22da03 commit bec6e2b
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 bec6e2b

Please sign in to comment.