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:
commit
85af5ccc36
@ -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