diff --git a/terraform/modules/k8s-cluster/templates/snap/microk8s-config-manager.tftpl b/terraform/modules/k8s-cluster/templates/snap/microk8s-config-manager.tftpl index fa2e656..1d10510 100644 --- a/terraform/modules/k8s-cluster/templates/snap/microk8s-config-manager.tftpl +++ b/terraform/modules/k8s-cluster/templates/snap/microk8s-config-manager.tftpl @@ -8,12 +8,12 @@ join: worker: false %{ endif ~} extraKubeAPIServerArgs: - --advertise-address=${api_server_ip} - --authorization-mode=RBAC,Node + --advertise-address: ${api_server_ip} + --authorization-mode: RBAC,Node extraKubeletArgs: - --node-ip=${node_ip} - --cluster-dns=10.152.183.10 - --cluster-domain=cluster.local + --node-ip: ${node_ip} + --cluster-dns: 10.152.183.10 + --cluster-domain: cluster.local extraSANs: - ${api_server_domain} addons: diff --git a/terraform/modules/k8s-cluster/templates/snap/microk8s-config-worker.tftpl b/terraform/modules/k8s-cluster/templates/snap/microk8s-config-worker.tftpl index c10da38..6eb8e54 100644 --- a/terraform/modules/k8s-cluster/templates/snap/microk8s-config-worker.tftpl +++ b/terraform/modules/k8s-cluster/templates/snap/microk8s-config-worker.tftpl @@ -4,6 +4,6 @@ join: url: "${main_node_ip}:25000/${cluster_token}" worker: true extraKubeletArgs: - --node-ip=${node_ip} - --cluster-dns=10.152.183.10 - --cluster-domain=cluster.local + --node-ip: ${node_ip} + --cluster-dns: 10.152.183.10 + --cluster-domain: cluster.local