Skip to content

Instantly share code, notes, and snippets.

@mgoodness
Last active June 7, 2019 18:33
Show Gist options
  • Save mgoodness/659025e79d46e4f241ced65108766563 to your computer and use it in GitHub Desktop.
Save mgoodness/659025e79d46e4f241ced65108766563 to your computer and use it in GitHub Desktop.
kube-dns RBAC setup for K8s v1.6+ (tested on minikube)
kubectl -n kube-system create sa kube-dns
kubectl -n kube-system patch deploy/kube-dns -p '{"spec": {"template": {"spec": {"serviceAccountName": "kube-dns"}}}}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment