Konfidence is pre-release software. Concepts and APIs are unstable and subject to change.
Skip to content

Create a project ​

Create a project to organize landscapes, vector templates, and promotion configurations in a dedicated namespace. You can assign a project to a team and grant its members access through project roles.

The creation steps use cluster-level Kubernetes permissions. After creation, role bindings control access through the Konfidence API; they do not grant Kubernetes permissions.

Prerequisites ​

  • Access to the Konfidence cluster through kubectl with permission to create Project resources. Projects are cluster-scoped.
  • A project name that is a valid DNS label. Konfidence derives the namespace name from it.

Create the project ​

Save the following manifest as project.yaml:

yaml
apiVersion: konfidence.cloud/v1alpha1
kind: Project
metadata:
  name: ecommerce-platform
spec:
  displayName: E-Commerce Platform

Apply it:

bash
kubectl apply -f project.yaml

The command prints project.konfidence.cloud/ecommerce-platform created.

Verify the namespace ​

Konfidence creates the namespace kden-p-ecommerce-platform and reports it in the project's Ready condition:

bash
kubectl get project ecommerce-platform \
  --output=jsonpath='{.status.conditions[?(@.type=="Ready")].status}{"\n"}'

The command prints True. Confirm the namespace exists:

bash
kubectl get namespace kden-p-ecommerce-platform

Grant access ​

A new project has no role bindings, so nobody can use it through the Konfidence API. Add them in spec.roleBindings as described in Grant teams access to a project.

For the full field list, see the Project CRD reference.

Next steps ​

EU and German government funding logos

Funded by the European Union – NextGenerationEU.

The views and opinions expressed are solely those of the author(s) and do not necessarily reflect the views of the European Union or the European Commission. Neither the European Union nor the European Commission can be held responsible for them.