Closed tarilabs closed 1 year ago
Considering mocking an utility method sendEventDrivenAnsible( ... payload ...)
in RHS which would delegate EDAnsible to decide how to provision the PV
ref https://www.ansible.com/blog/getting-started-with-event-driven-ansible
https://github.com/kiegroup/ruleops/blob/a3a90bcbab0a961478cd609b9abde80e32a188a2/ruleops/src/main/resources/rules/rules.drl#L41-L48
Consider adding a RHS action that would mock for running a playbook which would in turn: a. allocate a volume from a NAS, b. create a PV on k8s for it.
As the creation of the PV would solve the issue, since the PVC would get hold of the PV, therefore the deployment would bind on the PVC completed in turn.