fixtures

command
v1.17.1 Latest Latest
Warning

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

Go to latest
Published: May 29, 2026 License: Apache-2.0 Imports: 25 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:

  • 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.

Jump to

Keyboard shortcuts

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