pass config file explicitly
This commit is contained in:
@@ -52,7 +52,7 @@
|
|||||||
$gomplate --input-dir=${k3sDir} --output-dir=$kubernetes_config -d site=file://${siteDir}/index.html?type=text/plain
|
$gomplate --input-dir=${k3sDir} --output-dir=$kubernetes_config -d site=file://${siteDir}/index.html?type=text/plain
|
||||||
echo "Applying k3s config"
|
echo "Applying k3s config"
|
||||||
kubectl=${pkgs.kubectl}/bin/kubectl
|
kubectl=${pkgs.kubectl}/bin/kubectl
|
||||||
$kubectl apply -k $kubernetes_config
|
$kubectl --kubeconfig=/etc/rancher/k3s/k3s.yaml apply -k $kubernetes_config
|
||||||
'';
|
'';
|
||||||
|
|
||||||
User = "root";
|
User = "root";
|
||||||
|
|||||||
Reference in New Issue
Block a user