This is a cache of https://docs.okd.io/4.10/operators/operator_sdk/helm/osdk-helm-project-layout.html. It is a snapshot of the page at 2024-11-21T22:05:57.082+0000.
Project layout - Developing Operators | Operators | OKD 4.10
×

The operator-sdk CLI can generate, or scaffold, a number of packages and files for each Operator project.

helm-based project layout

helm-based Operator projects generated using the operator-sdk init --plugins helm command contain the following directories and files:

File/folders Purpose

config/

Kustomize manifests for deploying the Operator on a Kubernetes cluster.

helm-charts/

helm chart initialized with the operator-sdk create api command.

Dockerfile

Used to build the Operator image with the make docker-build command.

watches.yaml

Group/version/kind (GVK) and helm chart location.

Makefile

Targets used to manage the project.

PROJECT

YAML file containing metadata information for the Operator.