Difference between revisions of "Kubernetes RBAC Example"
Jump to navigation
Jump to search
(Created page with "- https://jeremievallee.com/2018/05/28/kubernetes-rbac-namespace-user.html - https://medium.com/@rschoening/read-only-access-to-kubernetes-cluster-fcf84670b698 ``` s=$(kubect...") |
|||
Line 5: | Line 5: | ||
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']}" | ||
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']}" | ||
− | `` | + | ``` |
Revision as of 18:17, 18 July 2021
- 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']}"