Tanguy Herbron
611187405b
Include networking management and configuration for compatibility with Prometheus, enable and make registry accessible, configure Prometheus accordingly
31 lines
787 B
YAML
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
|