Skip to content

Commit

Permalink
fix: don't set default endpoints on gen config
Browse files Browse the repository at this point in the history
Fixes #8500

Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
  • Loading branch information
smira committed Apr 1, 2024
1 parent 8dc4910 commit fac3dd0
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions cmd/talosctl/cmd/mgmt/gen/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -170,9 +170,6 @@ func GenerateConfigBundle(genOptions []generate.Option,
return nil, fmt.Errorf("failed to generate config bundle: %w", err)
}

// We set the default endpoint to localhost for configs generated, with expectation user will tweak later
configBundle.TalosConfig().Contexts[clusterName].Endpoints = []string{"127.0.0.1"}

return configBundle, nil
}

Expand Down

0 comments on commit fac3dd0

Please sign in to comment.