This is a cache of https://docs.openshift.com/container-platform/4.14/operators/operator_sdk/helm/osdk-helm-project-layout.html. It is a snapshot of the page at 2024-11-22T15:30:33.849+0000.
Project layout - Developing Operators | Operators | OpenShift Container Platform 4.14
×

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.