mirror of https://github.com/tailscale/tailscale/
cmd/k8s-operator: require namespace config (#14648)
Most users should not run into this because it's set in the helm chart and the deploy manifest, but if namespace is not set we get confusing authz errors because the kube client tries to fetch some namespaced resources as though they're cluster-scoped and reports permission denied. Try to detect namespace from the default projected volume, and otherwise fatal. Fixes #cleanup Change-Id: I64b34191e440b61204b9ad30bbfa117abbbe09c3 Signed-off-by: Tom Proctor <tomhjp@users.noreply.github.com>pull/14037/merge
parent
00bd906797
commit
2d1f6f18cc
Loading…
Reference in New Issue