$ oc get pod <POD_NAME> -o json | jq -r '.spec.volumes[] | select(.name=="config").secret.secretName'
Last active
August 19, 2021 16:37
-
-
Save noseka1/3c898eb867108f808dcf1883989f5dbb to your computer and use it in GitHub Desktop.
Using jq with Kubernetes and OpenShift
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment