summaryrefslogtreecommitdiff
path: root/f3s/git-server/helm-chart/templates/ingress.yaml
blob: e47ff7fb953efee326c7b49ebc58e9bd465006e4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# CGit Web UI Ingress
# Exposes cgit web interface at cgit.f3s.buetow.org
# Following f3s cluster ingress pattern (Traefik)

apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
  name: cgit-ingress
  namespace: cicd
  annotations:
    spec.ingressClassName: traefik
    traefik.ingress.kubernetes.io/router.entrypoints: web
spec:
  rules:
    - host: cgit.f3s.buetow.org
      http:
        paths:
          - path: /
            pathType: Prefix
            backend:
              service:
                name: git-server
                port:
                  number: 80