Minor cleanups of CoreDNS issues and CI job (#4719)

* Minor cleanups

* Add comment in docs that nodelocaldns cache is enabled by default
This commit is contained in:
Andreas Krüger
2019-05-07 22:20:36 +02:00
committed by Kubernetes Prow Robot
parent bf3c6aeed1
commit 8a5eae94ea
5 changed files with 20 additions and 9 deletions

View File

@@ -34,7 +34,7 @@
{{ bin_dir }}/kubectl --kubeconfig /etc/kubernetes/admin.conf get secrets --all-namespaces
-o 'jsonpath={range .items[*]}{"\n"}{.metadata.namespace}{" "}{.metadata.name}{" "}{.type}{end}'
| grep kubernetes.io/service-account-token
| egrep 'default-token|kube-proxy|kube-dns|netchecker|weave|calico|canal|flannel|dashboard|cluster-proportional-autoscaler|tiller|local-volume-provisioner'
| egrep 'default-token|kube-proxy|coredns|netchecker|weave|calico|canal|flannel|dashboard|cluster-proportional-autoscaler|tiller|local-volume-provisioner'
register: tokens_to_delete
when: needs_rotation