Skip to content

1.12 Running in-cluster e2es no longer respects service account RBAC rules.  #69234

Closed
@timothysc

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

Metadata

Assignees

No one assigned

    Labels

    kind/bugCategorizes issue or PR as related to a bug.priority/critical-urgentHighest priority. Must be actively worked on as someone's top priority right now.sig/testingCategorizes an issue or PR as relevant to SIG Testing.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions