K3s-cluster/gitlab/ingress.yaml
Tanguy Herbron 611187405b feat(gitlab): Add monitoring, registry and external database
Include networking management and configuration for compatibility with Prometheus, enable and make registry accessible, configure Prometheus accordingly
2022-10-18 00:50:25 +02:00

31 lines
787 B
YAML

apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: gitlab-ingress
namespace: gitlab
annotations:
kubernetes.io/ingress.class: "traefik"
spec:
tls:
- secretName: git-beta-tls
hosts:
- git.beta.halia.dev
rules:
- host: git.beta.halia.dev
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: gitlab-svc
port:
number: 80
- path: /v2
pathType: Prefix
backend:
service:
name: gitlab-svc
port:
number: 5050