k/website: add trove redirect

This commit is contained in:
Ryan Heywood 2025-05-27 13:48:29 -04:00
parent 8bfad21bea
commit b7ad06af3f
Signed by: ryan
GPG Key ID: 8E401478A3FBEF72
1 changed files with 54 additions and 0 deletions

View File

@ -73,12 +73,40 @@ spec:
---
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: docs-qvs-redirect
annotations:
cert-manager.io/cluster-issuer: letsencrypt
external-dns.alpha.kubernetes.io/hostname: docs.distrust.co
nginx.ingress.kubernetes.io/enable-cors: "true"
nginx.ingress.kubernetes.io/permanent-redirect: https://trove.distrust.co
spec:
ingressClassName: nginx
rules:
- host: docs.distrust.co
http:
paths:
- path: /qkm
pathType: Prefix
backend:
service:
name: docs
port:
number: 80
tls:
- hosts:
- docs.distrust.co
secretName: docs-tls
---
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: docs-qvs
annotations:
cert-manager.io/cluster-issuer: letsencrypt
external-dns.alpha.kubernetes.io/hostname: qvs.distrust.co
nginx.ingress.kubernetes.io/enable-cors: "true"
nginx.ingress.kubernetes.io/permanent-redirect: https://trove.distrust.co
spec:
ingressClassName: nginx
rules:
@ -96,3 +124,29 @@ spec:
- hosts:
- qvs.distrust.co
secretName: docs-qvs-tls
---
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: docs-trove
annotations:
cert-manager.io/cluster-issuer: letsencrypt
external-dns.alpha.kubernetes.io/hostname: trove.distrust.co
nginx.ingress.kubernetes.io/enable-cors: "true"
spec:
ingressClassName: nginx
rules:
- host: trove.distrust.co
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: docs-qvs
port:
number: 80
tls:
- hosts:
- trove.distrust.co
secretName: docs-trove-tls