1.12 Running in-cluster e2es no longer respects service account RBAC rules. #69234
Closed
Description
Is this a BUG REPORT:
Sonobuoy runs the kubernetes e2e's differently then test-infra. It constructs an in-cluster config vs. being handed a kubeconfig from the infra.
In 1.12 something has broken this behavior, I'm still digging into the details.
What happened:
Run tests from within the cluster error occurs -
https://paste.fedoraproject.org/paste/D559nyX6SlGhA3tLPtWt5A
What you expected to happen:
Works fine, just like it had in 1.11
How to reproduce it (as minimally and precisely as possible):
Run tests from within the cluster given proper RBAC rules.
Anything else we need to know?:
Discovered when updating sonobuoy for 1.12.
/sig testing
/kind bug
/cc @kubernetes/sig-cluster-lifecycle @dims @BenTheElder @kubernetes/cncf-conformance-wg