Answers for "kubectl print secret value"

0

kubectl print secret value

kubectl get secret <my_secret_name> -o 'go-template={{index .data "<key_name>"}}' | base64 -d

ex:
kubectl get secret my-secret -o 'go-template={{index .data "username"}}' | base64 -d
Posted by: Guest on March-04-2020

Browse Popular Code Answers by Language