You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 29, 2022. It is now read-only.
Could not query pod "<pod>" in namespace "<namespace>":
pods "<pod>" is forbidden:
User "system:serviceaccount:kube-system:<name>"
cannot get resource "pods" in API group "" in the namespace "<namespace>"
The text was updated successfully, but these errors were encountered:
Make sense, given the library comes from that project. I can send over a PR that mentions creating an extra role binding.
But - given MutatingWebhook - admissionregistration/v1beta1 supports using a full URL in the clientConfig field, I think using -query-k8s + -include-unqualified isn't needed for most admission controller use cases after all.
KOPS specific
KOPS does have a configurable service default DNS suffix setting - so its safe to make assumptions about its value because it is user configurable from a manifest file / edit.
I'll test today with MutatingWebhook::webhook[*].url field and an FQDN.
Perhaps + url and -query-k8s is the best combo. (no -include-unqualified).
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Specifically
get,list
are needed forpods, services
in the default API group when using these options:Consider adding this to the README.
kube apiserver logs:
The text was updated successfully, but these errors were encountered: