Browse Source

Update renew-account-certificate.ps1

hamza-review
Halil İbrahim Kalkan 5 years ago
parent
commit
92d260e197
  1. 5
      etc/azure/scripts/renew-account-certificate.ps1

5
etc/azure/scripts/renew-account-certificate.ps1

@ -1,7 +1,12 @@
$currentFolder = $PSScriptRoot
Set-Location $currentFolder
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