added commands to cheatsheet.md

pull/43652/head
Olawale Olaleye 2024-03-04 10:40:36 +00:00
parent 206c52758c
commit 7d987ff8a7
1 changed files with 1 additions and 5 deletions

View File

@ -78,11 +78,7 @@ kubectl config view --raw
kubectl config view -o jsonpath='{.users[?(@.name == "e2e")].user.password}'
# get the certificate for the e2e user
<<<<<<< HEAD
kubectl config view --raw -ojsonpath='{.users[?(.name == 'e2e')].user.client-certificate-data}' | base64 -d
=======
kubectl config view --raw -o jsonpath="{.users[?(.name == 'e2e')].user.client-certificate-data}" | base64 -d
>>>>>>> 908a1cca4c (added commands to cheatsheet.md)
kubectl config view --raw -o jsonpath='{.users[?(.name == 'e2e')].user.client-certificate-data}' | base64 -d
kubectl config view -o jsonpath='{.users[].name}' # display the first user
kubectl config view -o jsonpath='{.users[*].name}' # get a list of users