aboutsummaryrefslogtreecommitdiff
path: root/nix-personal/k8s/ingress.yaml
blob: 38499055b405a94c5e780b8cc65a7b2636a6be67 (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
25
26
27
28
29
30
31
32
33
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
  annotations:
    traefik.ingress.kubernetes.io/router.tls: "true"
    traefik.ingress.kubernetes.io/router.tls.certresolver: letsencrypt
    traefik.ingress.kubernetes.io/router.tls.domains.0.main: 'girlth.ing'
    traefik.ingress.kubernetes.io/router.tls.domains.0.sans: '*.girlth.ing'
  name: girlthing-all
  namespace: tcmal
spec:
  ingressClassName: traefik
  rules:
  - host: '*.girlth.ing'
    http:
      paths:
      - backend:
          service:
            name: puppy
            port:
              name: http
        path: /
        pathType: ImplementationSpecific
  - host: 'girlth.ing'
    http:
      paths:
      - backend:
          service:
            name: puppy
            port:
              name: http
        path: /
        pathType: ImplementationSpecific