diff --git a/terraform/modules/k8s-cluster/templates/cloud-init-k8s-manager.tftpl b/terraform/modules/k8s-cluster/templates/cloud-init-k8s-manager.tftpl index 6a7aadc..e2b5ede 100644 --- a/terraform/modules/k8s-cluster/templates/cloud-init-k8s-manager.tftpl +++ b/terraform/modules/k8s-cluster/templates/cloud-init-k8s-manager.tftpl @@ -1,7 +1,7 @@ #cloud-config users: - name: ${admin_user} - groups: users, admin + groups: users, admin, microk8s sudo: ALL=(ALL) NOPASSWD:ALL shell: /bin/bash ssh_authorized_keys: diff --git a/terraform/modules/k8s-cluster/templates/cloud-init-k8s-worker.tftpl b/terraform/modules/k8s-cluster/templates/cloud-init-k8s-worker.tftpl index e0939f8..ee3777b 100644 --- a/terraform/modules/k8s-cluster/templates/cloud-init-k8s-worker.tftpl +++ b/terraform/modules/k8s-cluster/templates/cloud-init-k8s-worker.tftpl @@ -1,7 +1,7 @@ #cloud-config users: - name: ${admin_user} - groups: users, admin + groups: users, admin, microk8s sudo: ALL=(ALL) NOPASSWD:ALL shell: /bin/bash ssh_authorized_keys: