kube/kubernetes-dashboard/README.md

19 lines
509 B
Markdown
Raw Normal View History

2022-08-16 09:40:54 +00:00
# Workflow
```bash
helm repo add kubernetes-dashboard https://kubernetes.github.io/dashboard/
helm template --release-name k6 -n kube-dashboard kubernetes-dashboard/kubernetes-dashboard -f values.yaml > application.yml
```
# Apply the changes:
```bash
kubectl apply -f application.yml -n kubernetes-dashboard
```
# Get token
```
kubectl -n kubernetes-dashboard get secret $(kubectl -n kube-dashboard get sa/admin-user -o jsonpath="{.secrets[0].name}") -o go-template="{{.data.token | base64decode}}"
```