Here you will find a set of handy set of templates you can use to deploy, build and deployment, configurations into OpenShift.
An example of a generic build template.
An example of a generic deployment template.
An example of a deployment template for use with a custom instance for documenting an Oracle database.
An example of how to add basic authentication to a SchemaSpy instance. This one builds on top of the Oracle template.
An example of the Caddyfile you would load into OpenShift as a config map when setting up an instance with basic authentication.
For additional details on how orchestrate and automate the process of deploying a protected instance of SchemaSpy refer to the information on Deploying a Protected SchemaSpy Instance