basic rofi and more macos cleanup

This commit is contained in:
Noah Masur
2022-05-07 09:24:17 -04:00
parent 43571c66dd
commit 4540327cb8
27 changed files with 155 additions and 23 deletions

7
macos/bin/kube-dashboard Executable file
View File

@ -0,0 +1,7 @@
#!/bin/sh
kubectl -n kube-system get secret $(kubectl -n kube-system get secret | grep dashboard-admin | awk '{print $1}') -o json | jq -j --raw-output '.data.token' | base64 --decode | pbcopy
open http://localhost:8001/api/v1/namespaces/default/services/https:kubernetes-dashboard:https/proxy/#!/login
kubectl proxy