Closed ravisantoshgudimetla closed 6 years ago
@danmcp As per our offline discussion, I added the hostPath and parameters for the existing OpenShift template to work on localhost(to remove dependency on Swift). PTAL. I will update the README once you are fine with these changes.
Writing this for my reference and for others to have context.
@danmcp and I had a discussion on the changes and decided it would be better to have two templates, one with swift and other without swift. Previously we wanted to have a single template but the problem is that introduction of hostPath causes pod to not come to running state. We would get an error like:
Error creating: pods "pman1-1-" is forbidden: unable to validate against any security context constraint: [spec.containers[0].securityContext.volumes[0]: Invalid value: "hostPath": hostPath volumes are not allowed to be used
So, it was decided to have 2 different templates, one where security context constraint could be changed(local one, where we have access) and one without those constaints being touched.
@danmcp This is a WIP template to test pman on local installation of OpenShift. Changes:
Please let me know, what you think of these changes.