K3s-cluster/gitlab/ingress.yaml

31 lines
787 B
YAML
Raw Normal View History

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