Skip to content

Instantly share code, notes, and snippets.

@coryodaniel
Created March 12, 2019 18:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save coryodaniel/f74fbeb96663cb20bc65a13ddbc1be6b to your computer and use it in GitHub Desktop.
Save coryodaniel/f74fbeb96663cb20bc65a13ddbc1be6b to your computer and use it in GitHub Desktop.
Escaping dot/period in jsonpath
kubectl get secrets ${secret_name} -o "jsonpath={.data['ca\.crt']}" | base64 -D
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment