Fix API for bootstrap-pods daemonsets (apps/v1)
This commit is contained in:
parent
39ea639cc3
commit
051b42fda8
@ -195,7 +195,7 @@ func renderBootstrapPodsDS(cluster *clustersconfig.Cluster) string {
|
|||||||
delete(md, "namespace")
|
delete(md, "namespace")
|
||||||
|
|
||||||
err := enc.Encode(map[string]interface{}{
|
err := enc.Encode(map[string]interface{}{
|
||||||
"apiVersion": "extensions/v1beta1",
|
"apiVersion": "apps/v1",
|
||||||
"kind": "DaemonSet",
|
"kind": "DaemonSet",
|
||||||
"metadata": map[string]interface{}{
|
"metadata": map[string]interface{}{
|
||||||
"namespace": namePod.Namespace,
|
"namespace": namePod.Namespace,
|
||||||
|
Loading…
Reference in New Issue
Block a user