restart provisioner after reconfiguration

This commit is contained in:
jerger 2022-03-18 18:39:08 +01:00
parent b509bb4228
commit f0a7fe569d

View file

@ -102,6 +102,7 @@ fun Prov.installK3s(k3sConfig: K3sConfig) = task {
}
applyK3sFileFromResource(localPathProvisionerConfig)
cmd("kubectl set env deployment -n kube-system local-path-provisioner DEPLOY_DATE=\"$(date)\"")
cmd("ln -sf $k3sKubeConfig " + k8sCredentialsDir + "admin.conf", sudo = true)
}