Gopkg.toml
Gopkg.lock
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.
Go-based Operator projects (the default type) generated using the operator-sdk new
command contain the following directories and files:
File/folders | Purpose |
---|---|
|
Contains |
|
Contains the directory tree that defines the APIs of the Custom Resource
Definitions (CRDs). Users are expected to edit the
|
|
This |
|
Contains the |
|
Contains various YAML manifests for registering CRDs, setting up RBAC, and deploying the Operator as a deployment. |
|
The Go Dep manifests that describe the external dependencies of this Operator. |
|
The golang vendor folder that contains the local copies of the external dependencies that satisfy the imports of this project. Go Dep manages the vendor directly. |
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 |
|
Contains |