The files in this directory are used for the make run-operator-playbook-XXX
targets. Configure these files to tell the operator playbook what to do when that target is executed.
-
dev-hosts.yaml
- the Ansible inventory file. This should contain variables that the operator SDK would normally set when triggering an operator reconciliation run. Note that most of the values here will be values that mimic the values in the Kiali CR. You typically will want to make sure the values indev-cr.yaml
match those in thisdev-hosts.yaml
file. -
dev-cr.yaml
- the "dummy" CR that will be created (there is one for the Kiali CR and one for the OSSMConsole CR). This is needed because the operator will sometimes need to access the CR that is being reconciled, so one needs to be created in the cluster for the operator to run correctly. In particular, the operator will update thestatus
field of the CR. -
dev-playbook.yaml
- the main playbook that will be run. By default it will run thekiali-deploy
playbook (orossmconsole-deploy
) (which will install a Kiali server or OSSMC plugin) and then immediately run thekiali-remove
(or theossmconsole-remove
) playbook (which will uninstall that Kiali server or OSSMC plugin). You can comment out one or the other if you wish to test just one of those playbooks.