fix: don't set default endpoints on gen config

Fixes #8500

Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
This commit is contained in:
Andrey Smirnov 2024-04-01 18:39:29 +04:00
parent 8dc4910c48
commit fac3dd0430
No known key found for this signature in database
GPG Key ID: FE042E3D4085A811

View File

@ -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
}