Last active
September 19, 2021 03:11
-
-
Save darkn3rd/a24e9d7073f8b719f7be0bafb3cd2937 to your computer and use it in GitHub Desktop.
TF/AKS with ExternalDNS/AzureDNS - verify_externaldns_config.sh
This file contains 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
export AZ_AKS_CLUSTER_NAME="$(terraform output -raw kubernetes_cluster_name)" | |
export KUBECONFIG=~/.kube/${AZ_AKS_CLUSTER_NAME}.yaml | |
kubectl get secret external-dns \ | |
--namespace kube-addons \ | |
--output jsonpath="{.data.azure\.json}" | base64 --decode |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment