Commit b979d644 authored by Hossein Pursultani's avatar Hossein Pursultani

Add examples for GitLab Shell config on OpenShift

parent 601d5cb7
Pipeline #68892805 failed with stages
in 17 minutes and 27 seconds
......@@ -11,6 +11,9 @@ service:
type: ClusterIP
externalPort: 22
internalPort: 2222
#externalIPs:
# - x.x.x.x
# - y.y.y.y
init:
image: busybox
......
......@@ -3,7 +3,7 @@
This document describes a basic outline of how to get GitLab up and running on
an OKD instance using the official Helm charts.
NOTE: **Note:**:
**Note:**:
This guide has been tested only on Openshift Origin 3.11.0 and is not guaranteed
to work on other versions, or SaaS offering of OpenShift, OpenShift Online.
If you face any problems in installing or configuring GitLab by following this
......@@ -138,4 +138,4 @@ installation procedure:
--set global.hosts.ssh=ssh.gitlab.example.com
```
Please note that for this to work, you need to satisfy the set of prerequisites that is explained above.
\ No newline at end of file
Check out the [OpenShift examples](https://gitlab.com/charts/gitlab/tree/master/examples/openshift).
# openshift/gitlab-shell-external-ip-alt-port.yaml
# This example shows how to assign an external IP to GitLab Shell with an alternate port. This
# is required for deployment on OpenShift, when the default SSH port is not available and you
# want to use an alternate port.
#
# You may have to define an external DNS record for this IP. If you did, you also need to pass
# the external domain name.
#
# For more information see:
# https://gitlab.com/charts/gitlab/blob/master/doc/installation/cloud/openshift.md#next-steps
gitlab:
gitlab-shell:
service:
externalIPs:
- x.x.x.x
global:
hosts:
ssh: ssh.gitlab.example.com
shell:
port: 222
\ No newline at end of file
# openshift/gitlab-shell-multiple-external-ip.yaml
# This example shows how to assign multiple external IPs to GitLab Shell. This is required for
# deployment on OpenShift.
#
# You may have to define an external DNS record for these IPs. If you did, you also need to pass
# the external domain name.
#
# For more information see:
# https://gitlab.com/charts/gitlab/blob/master/doc/installation/cloud/openshift.md#next-steps
gitlab:
gitlab-shell:
service:
externalIPs:
- x.x.x.x
- y.y.y.y
global:
hosts:
ssh: ssh.gitlab.example.com
\ No newline at end of file
# openshift/gitlab-shell-single-external-ip.yaml
# This example shows how to assign an external IP to GitLab Shell. This is required for
# deployment on OpenShift.
#
# You may have to define an external DNS record for this IP. If you did, you also need to pass
# the external domain name.
#
# For more information see:
# https://gitlab.com/charts/gitlab/blob/master/doc/installation/cloud/openshift.md#next-steps
gitlab:
gitlab-shell:
service:
externalIPs:
- x.x.x.x
global:
hosts:
ssh: ssh.gitlab.example.com
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment