apiVersion: v1
kind: Service
metadata:
  name: gitlab-service
  namespace: source-gitlab
spec:
  type: ClusterIP
  ports:
    - name: http
      port: 80
      targetPort: http
    - name: ssh
      port: 22
      targetPort: ssh
  selector:
    app: gitlab