dir2config: bs pods: fix pod template
This commit is contained in:
parent
6c8835c5ab
commit
6ddc4d6da4
@ -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"],
|
||||||
|
},
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user