Project Scaffolding Layout

March 4, 2019 ยท View on GitHub

After creating a new operator project using operator-sdk new --type ansible, the project directory has numerous generated folders and files. The following table describes a basic rundown of each generated file/directory.

File/FoldersPurpose
deployContains a generic set of Kubernetes manifests for deploying this operator on a Kubernetes cluster.
roles/Contains an Ansible Role initialized using Ansible Galaxy
buildContains scripts that the operator-sdk uses for build and initialization.
watches.yamlContains Group, Version, Kind, and Ansible invocation method.