Fix API for bootstrap-pods daemonsets (apps/v1)

This commit is contained in:
Guillaume 2019-11-08 08:15:43 +11:00
parent 39ea639cc3
commit 051b42fda8

View File

@ -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,