Merge branch 'fix-api-ds' into 'master'

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

See merge request novit-nc/direktil/local-server!2
This commit is contained in:
Mikaël Cluseau 2019-11-08 04:42:41 +00:00
commit 85af5ccc36

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,