Skip to content

Commit

Permalink
Add redirects
Browse files Browse the repository at this point in the history
  • Loading branch information
jveski committed Feb 29, 2024
1 parent 8bcc6e9 commit b835af2
Show file tree
Hide file tree
Showing 2 changed files with 87 additions and 0 deletions.
1 change: 1 addition & 0 deletions kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ resources:
- manifests/psql-keycloak.yaml
- manifests/psql-reporting.yaml
- manifests/psql-wikijs.yaml
- manifests/redirects.yaml
- manifests/wikijs.yaml

patches:
Expand Down
86 changes: 86 additions & 0 deletions manifests/redirects.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,86 @@
apiVersion: projectcontour.io/v1
kind: HTTPProxy
metadata:
name: waiver
spec:
virtualhost:
fqdn: waiver.thelab.ms
tls:
secretName: wildcard-cert
routes:
- conditions:
- prefix: /
requestRedirectPolicy:
hostname: docuseal.apps.thelab.ms
path: /d/rzCA7aZaUrBfLH

---

apiVersion: projectcontour.io/v1
kind: HTTPProxy
metadata:
name: discord
spec:
virtualhost:
fqdn: discord.thelab.ms
tls:
secretName: wildcard-cert
routes:
- conditions:
- prefix: /
requestRedirectPolicy:
hostname: discord.gg
path: /6zqaP8e5q4

---

apiVersion: projectcontour.io/v1
kind: HTTPProxy
metadata:
name: join
spec:
virtualhost:
fqdn: join.thelab.ms
tls:
secretName: wildcard-cert
routes:
- conditions:
- prefix: /
requestRedirectPolicy:
hostname: wiki.apps.thelab.ms
path: /en/join

---

apiVersion: projectcontour.io/v1
kind: HTTPProxy
metadata:
name: kb
spec:
virtualhost:
fqdn: kb.thelab.ms
tls:
secretName: wildcard-cert
routes:
- conditions:
- prefix: /
requestRedirectPolicy:
hostname: wiki.apps.thelab.ms
path: /en/kb-migration

---

apiVersion: projectcontour.io/v1
kind: HTTPProxy
metadata:
name: wiki
spec:
virtualhost:
fqdn: wiki.thelab.ms
tls:
secretName: wildcard-cert
routes:
- conditions:
- prefix: /
requestRedirectPolicy:
hostname: wiki.apps.thelab.ms

0 comments on commit b835af2

Please sign in to comment.