Using Tanzu Build Service Without Projects

Page last updated:

Tanzu Build Service projects are a resource that simplifies kubernetes namespaces and RBAC to provide multitenancy for images, secrets, and builders.

Projects are optional if users don’t need to multitentancy or if they prefer to manage multitenacy via alternative mechanisms.

Using the pb cli

The pb cli can work with existing namespaces by targeting them as projects.

  1. Get kubeconfig access to the Kubernetes cluster that has the Build Service installed.

  2. Use the pb cli to target the namespace you want to create build service resources in.

pb project target NAMESPACE-NAME

Note: By default, the pb cli will use the default namespace if no namespace has been targeted.