water-hole / ansible-operator

POC Code for the operator backed by ansible
48 stars 29 forks source link

rename config.yaml #28

Closed mhrivnak closed 6 years ago

mhrivnak commented 6 years ago

The operator's config.yaml file is not a config file in the usual sense. It maps GVK to an ansible role or playbook. We would never put other runtime settings in it such as debug level, what port to run the proxy on, etc. This file is how you compose an operator, and changing its contents could leave you with a fundamentally different operator.

As such, I propose changing the name to avoid confusion. Since the file is a list of GVKs to watch, combined with info about what to do for that GVK, I suggest renaming it to watches.yaml.

mhrivnak commented 6 years ago

Related to #20