water-hole / ansible-operator

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

duplicate GVK in config file should fail startup #21

Closed mhrivnak closed 6 years ago

mhrivnak commented 6 years ago

In the config file at /opt/ansible/config.yaml, users create a mapping of GVK to an ansible role or playbook. It is not valid for a GVK to appear twice in the file. In that case, the operator should notice during startup and exit with an error code and log message.