diff --git a/etc/azure/scripts/configure-dns.ps1 b/etc/azure/scripts/configure-dns.ps1 deleted file mode 100644 index b02d007..0000000 --- a/etc/azure/scripts/configure-dns.ps1 +++ /dev/null @@ -1,2 +0,0 @@ -kubectl apply -f .\corednsms.yaml -kubectl delete pod --namespace kube-system -l k8s-app=kube-dns \ No newline at end of file diff --git a/etc/azure/scripts/renew-account-certificate.ps1 b/etc/azure/scripts/renew-account-certificate.ps1 new file mode 100644 index 0000000..be6f8e6 --- /dev/null +++ b/etc/azure/scripts/renew-account-certificate.ps1 @@ -0,0 +1,7 @@ +kubectl delete -f .\corednsms.yaml --ignore-not-found=true +kubectl delete pod --namespace kube-system -l k8s-app=kube-dns --ignore-not-found=true +kubectl rollout status deployment --namespace kube-system coredns +kubectl delete certificate eh-az-account-tls +sleep 60 +kubectl apply -f .\corednsms.yaml +kubectl delete pod --namespace kube-system -l k8s-app=kube-dns \ No newline at end of file