jenglish / ssptool

nodejs / express application for working with OpenControl data
MIT License
3 stars 5 forks source link

Add OpenShift SSPTOOL template #10

Closed redhatrises closed 6 years ago

redhatrises commented 6 years ago

Adds an initial OCP template to be expanded upon as needed.

shawndwells commented 6 years ago

Hey @jenglish! @redhatrises and I work together at Red Hat. We've began using the ssptool a good bit and would like to upstream the openshift template needed to make ssptool work natively on OpenShift v3.

Happy to carry the patches elsewhere, but the Red Hat way is to try and upstream everything first. This way we can collaborate and ensure the template can be kept in sync with your work.

jenglish commented 6 years ago

OK... what exactly does the template file do? (Sorry, I'm not yet familiar with OpenShift). Does it need to be in the top-level directory?

shawndwells commented 6 years ago

On 3/19/18 1:08 PM, Joe English wrote:

OK... what exactly does the template file do? (Sorry, I'm not yet familiar with OpenShift). Think of it like a Dockerfile for OpenShift. Template file that you import, and OpenShift executes to create a running instance of the application. Works on openshift.com and on-prem deployments. Does it need to be in the top-level directory? No. We could create a deployment_templates directory (or some other name).

redhatrises commented 6 years ago

Does it need to be in the top-level directory?

No. We could create a deployment_templates directory (or some other name).

It doesn't necessarily need to be in the top level directory. Although for simplicity, OpenShift templates seem to either be put in the top-level directory or a separate git repository.