mmumshad / kubernetes-the-hard-way

Bootstrap Kubernetes the hard way on Vagrant on Local Machine. No scripts.
Apache License 2.0
4.6k stars 4.48k forks source link

Update coredns `ClusterRole` #296

Closed astraw99 closed 1 year ago

astraw99 commented 1 year ago

Fix #295 After granting ClusterRole with endpointslices, it works fine.

.:53
[INFO] plugin/reload: Running configuration SHA512 = 591cf328cccc12bc490481273e738df59329c62c0b729d94e8b61db9961c2fa5f046dd37f1cf888b953814040d180f52594972691cd6ff41be96639138a43908
CoreDNS-1.9.4
linux/amd64, go1.19.1, 1f0a41a
fireflycons commented 1 year ago

Hi @astraw99

Thanks for bringing that to my attention. The actual fix is to upgrade to coredns 1.9.4 which includes this piece of RBAC, so that's what I've done.

Please see https://github.com/mmumshad/kubernetes-the-hard-way/commit/0e87420d2cd607a490d1b6f20684266a64b9cedf

astraw99 commented 1 year ago

OK, got it. Thanks.