dir2config: bs pods: fix pod template

This commit is contained in:
Mikaël Cluseau 2019-10-17 01:07:27 +11:00
parent 6c8835c5ab
commit 6ddc4d6da4
1 changed files with 4 additions and 1 deletions

View File

@ -190,7 +190,10 @@ func renderBootstrapPodsDS(cluster *clustersconfig.Cluster) string {
"selector": map[string]interface{}{ "selector": map[string]interface{}{
"matchLabels": labels, "matchLabels": labels,
}, },
"template": pod, "template": map[string]interface{}{
"metadata": pod["metadata"],
"spec": pod["spec"],
},
}, },
}) })