diff --git a/deploy/overlays/production/ingress_redirects.yaml b/deploy/overlays/production/ingress_redirects.yaml new file mode 100644 index 0000000000000000000000000000000000000000..3cab142af933fed97d74aaa24ab112af1965c8df --- /dev/null +++ b/deploy/overlays/production/ingress_redirects.yaml @@ -0,0 +1,91 @@ +apiVersion: networking.k8s.io/v1 +kind: Ingress +metadata: + annotations: + cert-manager.io/cluster-issuer: letsencrypt-prod + kubernetes.io/tls-acme: "true" + name: teckids-website-redirects + namespace: teckids-website +spec: + ingressClassName: nginx + rules: + - host: www.teckids.org + http: + paths: + - backend: + service: + name: teckids-website + port: + number: 80 + path: / + pathType: Prefix + - host: hacknfun.camp + http: + paths: + - backend: + service: + name: teckids-website + port: + number: 80 + path: / + pathType: Prefix + - host: www.hacknfun.camp + http: + paths: + - backend: + service: + name: teckids-website + port: + number: 80 + path: / + pathType: Prefix + - host: hacknsun.camp + http: + paths: + - backend: + service: + name: teckids-website + port: + number: 80 + path: / + pathType: Prefix + - host: www.hacknsun.camp + http: + paths: + - backend: + service: + name: teckids-website + port: + number: 80 + path: / + pathType: Prefix + - host: schul-frei.dev + http: + paths: + - backend: + service: + name: teckids-website + port: + number: 80 + path: / + pathType: Prefix + - host: www.schul-frei.dev + http: + paths: + - backend: + service: + name: teckids-website + port: + number: 80 + path: / + pathType: Prefix + tls: + - hosts: + - www.teckids.org + - hacknfun.camp + - www.hacknfun.camp + - hacknsun.camp + - www.hacknsun.camp + - schul-frei.dev + - www.schul-frei.dev + secretName: teckids-website-redirects-tls