fix k3s path
This commit is contained in:
parent
8ea2fe274e
commit
d62d3f07aa
1 changed files with 1 additions and 1 deletions
|
|
@ -53,7 +53,7 @@ in
|
||||||
name=$(basename "$file" .yaml)
|
name=$(basename "$file" .yaml)
|
||||||
if ! (echo "$NIX_MANIFESTS $DEFAULT_MANIFESTS" | grep -qw "$name"); then
|
if ! (echo "$NIX_MANIFESTS $DEFAULT_MANIFESTS" | grep -qw "$name"); then
|
||||||
echo "Stale manifest found, deleting $name.yaml"
|
echo "Stale manifest found, deleting $name.yaml"
|
||||||
k3s kubectl delete -f "$file" --ignore-not-found=true 2>/dev/null || true
|
${pkgs.k3s}/bin/k3s kubectl delete -f "$file" --ignore-not-found=true 2>/dev/null || true
|
||||||
rm -f "$file"
|
rm -f "$file"
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue