fixtures

command
v1.16.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 7, 2026 License: Apache-2.0 Imports: 20 Imported by: 0

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:

  • an Organization
  • two Groups: one with the "administrator" role, one with the "user" role
  • a Project (members: both groups)
  • two ServiceAccounts: one per group, 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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL