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 bab68bf..0819439 100644 --- a/terraform/modules/k8s-cluster/templates/snap/microk8s-config-manager.tftpl +++ b/terraform/modules/k8s-cluster/templates/snap/microk8s-config-manager.tftpl @@ -16,6 +16,12 @@ extraKubeletArgs: --cluster-domain: cluster.local extraKubeProxyArgs: --metrics-bind-address: 0.0.0.0:10249 +extraKubeSchedulerArgs: + --authentication-kubeconfig: ${SNAP_DATA}/credentials/scheduler.config + --authorization-kubeconfig: ${SNAP_DATA}/credentials/scheduler.config +extraKubeControllerManagerArgs: + --authentication-kubeconfig=${SNAP_DATA}/credentials/controller.config + --authorization-kubeconfig=${SNAP_DATA}/credentials/controller.config extraSANs: - ${api_server_domain} addons: