Skip to content

Instantly share code, notes, and snippets.

@pen-pal
Created June 3, 2025 14:29
Show Gist options
  • Save pen-pal/a949368f9401d40d14c6f7934ba4e7a2 to your computer and use it in GitHub Desktop.
Save pen-pal/a949368f9401d40d14c6f7934ba4e7a2 to your computer and use it in GitHub Desktop.
decrypt prometheus prometheus.yaml.gz
$ kubectl -n <NAMESPACE> get secret <SECRET> -o json | jq -r '.data."prometheus.yaml.gz"' | base64 -d | gunzip
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment