Created
August 15, 2024 07:09
-
-
Save zulhfreelancer/819a43739cd108f6b9f7b0e7eed29a9e to your computer and use it in GitHub Desktop.
List all DNS01 ClusterIssuers and provider names using `kubectl`
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
kubectl get clusterissuers -o json | jq -r '.items[] | select(.spec.acme != null) | select(.spec.acme.solvers[0] | keys[0]=="dns01") | {name: .metadata.name, provider: (.spec.acme.solvers[0].dns01 | keys[0])}' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment