Changes

m
Line 55: Line 55:  
The <code>client-admin.crt</code> and <code>client-admin.key</code> files can be created as follows:
 
The <code>client-admin.crt</code> and <code>client-admin.key</code> files can be created as follows:
 
<pre>
 
<pre>
kubectl config view --raw \
+
kubectl config view --raw --minify -o jsonpath='{.users[0].user.client-certificate-data}'
| awk '/client-certificate-data:/ {print $2; exit}' \
   
| base64 -d > client-admin.crt
 
| base64 -d > client-admin.crt
 
</pre>
 
</pre>
509

edits