| title | Project API Reference |
|---|
A Project represents a cloud-native application composed of multiple components in OpenChoreo. It serves as the fundamental unit of isolation and provides a logical boundary for organizing related components, services, and resources.
openchoreo.dev/v1alpha1
Projects are namespace-scoped resources that must be created within an Organization's namespace.
apiVersion: openchoreo.dev/v1alpha1
kind: Project
metadata:
name: <project-name>
namespace: <org-namespace> # Organization namespace| Field | Type | Required | Default | Description |
|---|---|---|---|---|
deploymentPipelineRef |
string | Yes | - | Reference to the DeploymentPipeline that defines the promotion paths between environments for this project. Must reference an existing DeploymentPipeline in the same namespace |
| Field | Type | Default | Description |
|---|---|---|---|
observedGeneration |
integer | 0 | The generation observed by the controller |
conditions |
[]Condition | [] | Standard Kubernetes conditions tracking the project state |
Common condition types for Project resources:
Ready- Indicates if the project is fully provisioned and readyReconciled- Indicates if the controller has successfully reconciled the projectNamespaceProvisioned- Indicates if project namespaces have been created in all environments
A simple project referencing the default deployment pipeline:
apiVersion: openchoreo.dev/v1alpha1
kind: Project
metadata:
name: internal-apps
namespace: default
annotations:
openchoreo.dev/display-name: Internal Applications
openchoreo.dev/description: This project contains components that are used by company's internal applications
spec:
deploymentPipelineRef: default-deployment-pipelineProjects support the following annotations:
| Annotation | Description |
|---|---|
openchoreo.dev/display-name |
Human-readable name for UI display |
openchoreo.dev/description |
Detailed description of the project |
- Component - Deployable units within projects
- DeploymentPipeline - Defines environment promotion paths
- Organization - Contains projects