remove bootstrap pods from cluster, and render in hosts' context

This commit is contained in:
Mikaël Cluseau
2023-01-16 18:17:11 +01:00
parent 76e02c6f31
commit 4ff85eaeb3
4 changed files with 88 additions and 113 deletions

View File

@ -43,9 +43,8 @@ func main() {
// ----------------------------------------------------------------------
for _, cluster := range src.Clusters {
dst.Clusters = append(dst.Clusters, &localconfig.Cluster{
Name: cluster.Name,
Addons: renderAddons(cluster),
BootstrapPods: renderBootstrapPodsDS(cluster),
Name: cluster.Name,
Addons: renderAddons(cluster),
})
}