Browse Source

Created renew-account-certificate.ps1

hamza-review
Halil İbrahim Kalkan 5 years ago
parent
commit
82193557bc
  1. 2
      etc/azure/scripts/configure-dns.ps1
  2. 7
      etc/azure/scripts/renew-account-certificate.ps1

2
etc/azure/scripts/configure-dns.ps1

@ -1,2 +0,0 @@
kubectl apply -f .\corednsms.yaml
kubectl delete pod --namespace kube-system -l k8s-app=kube-dns

7
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
Loading…
Cancel
Save