The operator-sdk
CLI generates a number of packages for each Operator project. The following sections describes a basic rundown of each generated file and directory.
Ansible-based Operator projects generated using the operator-sdk new --type ansible
command contain the following directories and files:
File/folders | Purpose |
---|---|
|
Contains the files that are used for testing the Ansible roles. |
|
Contains the Helm chart used while creating the project. |
|
Contains the Dockerfile and build scripts used to build the Operator. |
|
Contains various YAML manifests for registering CRDs, setting up RBAC, and deploying the Operator as a deployment. |
|
Contains the Ansible content that needs to be installed. |
|
Contains group, version, kind and role. |
Helm-based Operator projects generated using the operator-sdk new --type helm
command contain the following directories and files:
File/folders | Purpose |
---|---|
|
Contains various YAML manifests for registering CRDs, setting up RBAC, and deploying the Operator as a deployment. |
|
Contains a Helm chart initialized using the equivalent of the |
|
Contains the Dockerfile and build scripts used to build the Operator. |
|
Contains group, version, kind and Helm chart location. |