Skip to content
Snippets Groups Projects
Commit dae05fd6 authored by Nicholas Clark's avatar Nicholas Clark
Browse files

Add port 22 to ingress and load balancer to support git ssh

parent 8fcf8c45
No related branches found
No related tags found
1 merge request!18Add port 22 to ingress and load balancer to support git ssh
......@@ -33,7 +33,9 @@ spec:
ports:
- containerPort: 80
- containerPort: 443
- containerPort: 22
args:
- /nginx-ingress-controller
- --default-backend-service=nginx-ingress/default-http-backend
- --nginx-configmap=nginx-ingress/nginx
- --tcp-services-configmap=nginx-ingress/tcp-ports
......@@ -11,5 +11,7 @@ spec:
name: http
- port: 443
name: https
- port: 22
name: git
selector:
app: nginx
apiVersion: v1
kind: ConfigMap
metadata:
name: tcp-ports
namespace: nginx-ingress
data:
22: "gitlab/gitlab:22"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment