Documentation
¶
Overview ¶
integration-fixtures bootstraps the minimum test resources for integration tests. It uses controller-runtime to issue an mTLS client certificate, then calls the identity HTTP API via the generated OpenAPI client to create:
- two Organizations: one test org and one non-member org
- three Groups: "administrator", "user", and "auditor"
- a Project (members: both groups)
- a user in the user group, yielding a federated bearer token
- ServiceAccounts for admin, user, and audit groups, each yielding a distinct bearer token
The resulting tokens exercise both org-scoped (administrator) and project-scoped (user) RBAC paths in the main integration suite.
Writes a .env fragment to stdout for consumption by the Ginkgo test suite.
Click to show internal directories.
Click to hide internal directories.