Skip to content

Latest commit

 

History

History
 
 

dev-playbook-config

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

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 in dev-cr.yaml match those in this dev-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 the status field of the CR.

  • dev-playbook.yaml - the main playbook that will be run. By default it will run the kiali-deploy playbook (or ossmconsole-deploy) (which will install a Kiali server or OSSMC plugin) and then immediately run the kiali-remove (or the ossmconsole-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.