all repos — infra @ da1bed0778a22c587e6c2fb54596b1825328ccd8

infrastructure manifests and setup notes

apps/site/site.yaml (view raw)

 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
 34
 35
 36
 37
 38
 39
 40
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
  name: icyphox.sh
  namespace: default
  annotations:
    caddy.ingress.kubernetes.io/permanent-redirect: "https://anirudh.fi"
spec:
  ingressClassName: caddy
  rules:
  - host: icyphox.sh
    http:
      paths:
      - path: /
        pathType: Prefix
        backend:
          service:
            name: garage
            port:
              number: 80
---
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
  name: anirudh.fi
  namespace: default
spec:
  ingressClassName: caddy
  rules:
  - host: anirudh.fi
    http:
      paths:
      - path: /
        pathType: Prefix
        backend:
          service:
            name: garage
            port:
              number: 80