From d5255a0eab7f92460c4e9c0eefac8748c4f12609 Mon Sep 17 00:00:00 2001 From: Jim Martens Date: Sat, 4 Nov 2023 22:07:47 +0100 Subject: [PATCH] Fixed launch configuration --- .../templates/snap/microk8s-config-manager.tftpl | 10 +++++----- .../templates/snap/microk8s-config-worker.tftpl | 6 +++--- 2 files changed, 8 insertions(+), 8 deletions(-) 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