mirror of
https://github.com/0rangebananaspy/authelia.git
synced 2024-09-14 22:47:21 +07:00
12 lines
369 B
Bash
12 lines
369 B
Bash
|
#!/bin/bash
|
||
|
|
||
|
start_dashboard() {
|
||
|
kubectl apply -f https://raw.githubusercontent.com/kubernetes/dashboard/v2.0.0-beta4/aio/deploy/recommended.yaml
|
||
|
kubectl apply -f dashboard.yml
|
||
|
|
||
|
echo "Bearer token for UI user."
|
||
|
kubectl -n kubernetes-dashboard describe secret $(kubectl -n kubernetes-dashboard get secret | grep admin-user | awk '{print $1}')
|
||
|
}
|
||
|
|
||
|
start_dashboard
|