Skip to content

Instantly share code, notes, and snippets.

@sergsoares
Created January 29, 2022 19:53
Show Gist options
  • Save sergsoares/80baf852fc638d947ed8e214e99fac0d to your computer and use it in GitHub Desktop.
Save sergsoares/80baf852fc638d947ed8e214e99fac0d to your computer and use it in GitHub Desktop.
Script to get all configmaps values being used in a Namespace
kubectl get configmap -o json -n namespace | jq '.items[] | [.metadata.namespace, .metadata.name, .data ]'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment