alias kubectl

This commit is contained in:
Jimmy 2022-02-08 23:33:56 +13:00
parent abfc7ef8c9
commit 8962d42a81
1 changed files with 1 additions and 4 deletions

View File

@ -7,9 +7,6 @@ packages:
snap:
commands:
- ["install", "microk8s", "--classic"]
- ["install", "kubectl", "--classic"]
system_info:
default_user:
@ -20,7 +17,7 @@ system_info:
runcmd:
- mkdir -p /home/ubuntu/.kube /home/ubuntu/.config/fish/completions
- microk8s config > /home/ubuntu/.kube/config
- microk8s alias microk8s.kubectl kubectl
- kubectl completion fish > /home/ubuntu/.config/fish/completions/kubectl.fish
- chown -R ubuntu:ubuntu /home/ubuntu/.kube /home/ubuntu/.config/fish
- microk8s enable dns ingress dashboard helm helm3