Multi-Tenancy
Use a Kubernetes namespace for each team or workload boundary. A cluster-scoped Team grants Varroa access to its namespaces and can create those namespaces.
Onboard a team
Section titled “Onboard a team”apiVersion: varroa.dev/v1alpha1kind: Teammetadata: name: paymentsspec: displayName: Payments subjects: - kind: Group name: payments-team namespaces: - team-payments roleRef: developer provisionNamespaces: trueApply the resource, then inspect its status:
kubectl apply -f team.yamlkubectl get team payments -o yamlnamespaces must not be empty. roleRef defaults to developer. members names local users; subjects names identities from the configured provider.
Control namespace access
Section titled “Control namespace access”Only configured deployable namespaces accept controller creation. Configure them through the installation values or a Team; then use Varroa RBAC to grant API access and Jenkins RBAC to grant Jenkins permissions.
Teams own their namespace membership and bindings. Do not manually edit generated access objects. If a user gets 403, verify their identity, Team membership, namespace scope, and role binding. If creation is rejected, verify that the namespace is deployable.