review question
This commit is contained in:
parent
85b999245b
commit
b61efd097f
1 changed files with 1 additions and 0 deletions
|
@ -111,6 +111,7 @@ fun Prov.installK3s(k3sConfig: K3sConfig): ProvResult {
|
||||||
}
|
}
|
||||||
|
|
||||||
applyK3sFileFromResource(localPathProvisionerConfig)
|
applyK3sFileFromResource(localPathProvisionerConfig)
|
||||||
|
// TODO: jem 2022-11-25: Why do we need sudo here??
|
||||||
cmd("kubectl set env deployment -n kube-system local-path-provisioner DEPLOY_DATE=\"$(date)\"", sudo = true)
|
cmd("kubectl set env deployment -n kube-system local-path-provisioner DEPLOY_DATE=\"$(date)\"", sudo = true)
|
||||||
|
|
||||||
cmd("ln -sf $k3sKubeConfig " + k8sCredentialsDir + "admin.conf", sudo = true)
|
cmd("ln -sf $k3sKubeConfig " + k8sCredentialsDir + "admin.conf", sudo = true)
|
||||||
|
|
Loading…
Reference in a new issue