Gitfed
bastien-mrq/gitfed / cmd / gitfed-install / templates / ingress.yaml.tmpl
# Generated by gitfed-install — mirrors deploy/k8s/ingress.yaml's shape
# with this instance's domain. If that checked-in file's structure ever
# changes, this template needs the same change (see manifests.go).
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
  name: gitfed
  namespace: gitfed
  annotations:
    cert-manager.io/cluster-issuer: letsencrypt-prod
spec:
  ingressClassName: traefik
  tls:
    - hosts: ["{{.Domain}}"]
      secretName: gitfed-tls
  rules:
    - host: {{.Domain}}
      http:
        paths:
          - path: /.well-known/
            pathType: Prefix
            backend:
              service:
                name: gitfed-wellknown
                port: {number: 8443}
          - path: /
            pathType: Prefix
            backend:
              service:
                name: gitfed-web
                port: {number: 8088}