diff --git a/cmd/dkl-dir2config/render-cluster.go b/cmd/dkl-dir2config/render-cluster.go index 4b227e3..366d6a8 100644 --- a/cmd/dkl-dir2config/render-cluster.go +++ b/cmd/dkl-dir2config/render-cluster.go @@ -190,7 +190,10 @@ func renderBootstrapPodsDS(cluster *clustersconfig.Cluster) string { "selector": map[string]interface{}{ "matchLabels": labels, }, - "template": pod, + "template": map[string]interface{}{ + "metadata": pod["metadata"], + "spec": pod["spec"], + }, }, })