OpenShift Gogs: Difference between revisions
Jump to navigation
Jump to search
Line 4: | Line 4: | ||
=Installation= | =Installation= | ||
The installation assumes that a Postgres instance was deployed already following the procedure specified here [[OpenShift Postgres#Installation|OpenShift Postgresql Installation]] and it is functional. | |||
The following command line should have been used: | |||
Revision as of 04:14, 25 November 2017
Internal
Installation
The installation assumes that a Postgres instance was deployed already following the procedure specified here OpenShift Postgresql Installation and it is functional.
The following command line should have been used:
- Use the template https://github.com/NovaOrdis/playground/blob/master/openshift/auxiliary-tools/gogs/gogs.yaml. It is based on https://github.com/OpenShiftDemos/openshift-cd-demo/blob/ocp-3.6/cicd-template.yaml
The template will create the OpenShift objects required by a Gogs repository and the Postgres dependency pod.
- Replace the conventional password value in the template with something safer:
... parameters: - description: Password for the Gogs user. displayName: Gogs Password value: password name: GOGS_PASSWORD required: true ...