Kubernetes RBAC Example
Jump to navigation
Jump to search
- https://jeremievallee.com/2018/05/28/kubernetes-rbac-namespace-user.html
- https://medium.com/@rschoening/read-only-access-to-kubernetes-cluster-fcf84670b698
s=$(kubectl describe sa test-sa | grep Tokens | awk '{print $2}'); kubectl get secret $s -o "jsonpath={.data['ca\.crt']}" s=$(kubectl describe sa test-sa | grep Tokens | awk '{print $2}'); kubectl get secret $s -o "jsonpath={.data['ca\.crt']}"