The following prerequisites must be met prior to beginning to deploy GitLab CE
- 4 Persistent Volumes or a cluster that supports dynamic provisioning with a default StorageClass
- OpenShift Command Line Tool
- Openshift Applier to deploy GitLab CE. As a result you'll need to have ansible installed
- Clone this repository:
git clone https://github.com/redhat-cop/containers-quickstarts
cd containers-quickstarts/gitlab-ce
- Run
ansible-galaxy install -r requirements.yml --roles-path=galaxy
- Login to OpenShift:
oc login -u <username> https://master.example.com:8443
❗ GitLab CE container will run under anyuid
SCC. Ensure you are logged into the Cluster (step 4) with an user with privileges to modify existing SecurityContextConstraints
Run the openshift-applier to create the gitlab
project and deploy required objects
ansible-playbook -i ./inventory galaxy/openshift-applier/playbooks/openshift-cluster-seed.yml