Skip to content

Instantly share code, notes, and snippets.

@maniankara
Created September 25, 2023 13:52
Show Gist options
  • Save maniankara/d0c4c19679e5f74d010c91c39973ec45 to your computer and use it in GitHub Desktop.
Save maniankara/d0c4c19679e5f74d010c91c39973ec45 to your computer and use it in GitHub Desktop.
Parse with jsonpath which has dots in their key names
kubectl get obj certs -o jsonpath="{.data['tls\.key']}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment