diff --git a/tofu/modules/generic/rke2/install_rke2.sh b/tofu/modules/generic/rke2/install_rke2.sh index 32bc214..70dca26 100644 --- a/tofu/modules/generic/rke2/install_rke2.sh +++ b/tofu/modules/generic/rke2/install_rke2.sh @@ -62,7 +62,8 @@ tls-san: %{ for san in sans ~} - ${jsonencode(san)} %{ endfor ~} -kubelet-arg: "config=/etc/rancher/rke2/kubelet-custom.config" +kubelet-arg: +- "--config=/etc/rancher/rke2/kubelet-custom.config" kube-controller-manager-arg: "node-cidr-mask-size=${node_cidr_mask_size}" EOF