feat: dynamic hostpath and privileged for openshift distro
General MR
Summary
We can't create and mount any folder on hostpath for Openshift distro when running cypress test for any package. Redhat team suggested to use existing mnt on host path with privilege access.
As per Redhat: “there are several existing dirs you can use in the O/S. like /mnt and some others to save cypress test artifacts.
Solution for openshift:
Change these values in _cypressrunner.yaml file
- change /cypress to /mnt/cypress or read it from Helm Values. Default Value /cypress if not paased
- add privileged: true under security Context or read it from Helm Values