Add media to download networkpolicy

This commit is contained in:
SeanOMik 2023-04-11 01:23:42 -04:00
parent 8cdf3f3df6
commit e880def890
Signed by: SeanOMik
GPG Key ID: 568F326C7EB33ACB
2 changed files with 17 additions and 1 deletions

View File

@ -19,6 +19,10 @@ spec:
matchLabels:
name: "traefik"
- namespaceSelector:
matchLabels:
name: "media"
- namespaceSelector:
matchLabels:
needsDownload: "yes"

View File

@ -6,3 +6,15 @@ Install [calico](https://docs.tigera.io/calico/latest/getting-started/kubernetes
Now install the FluxCD stuff:\
https://github.com/larivierec/home-cluster#installation
## Uninstalling and removing all k3s data in NixOS
```shell
sudo systemctl stop k3s
sudo rm -rf /etc/rancher/k3s
sudo rm -rf /var/lib/rancher/k3s
sudo systemctl start k3s
sudo cp /etc/rancher/k3s/k3s.yaml ~/.kube/config
sudo chown $USER ~/.kube/config
sudo chmod 600 ~/.kube/config
```