imfreedom/k8s-cluster

fc71e853c3aa
Add a new deployment for moving the imf wiki to mkdocs
---
apiVersion: traefik.containo.us/v1alpha1
kind: IngressRoute
metadata:
name: nest-http-redirect
spec:
entryPoints:
- https
routes:
- match: Host(`nest.pidgin.im`)
kind: Rule
services:
- name: pidgin-im
port: 3000
middlewares:
- name: pidgin-redirects
---
apiVersion: traefik.containo.us/v1alpha1
kind: IngressRoute
metadata:
name: nest-https-redirect
spec:
entryPoints:
- https
routes:
- match: Host(`nest.pidgin.im`)
kind: Rule
services:
- name: pidgin-im
port: 3000
middlewares:
- name: hsts-headers
- name: pidgin-redirects
tls:
secretName: nest-redirects-tls
---
apiVersion: cert-manager.io/v1
kind: Certificate
metadata:
name: nest-redirects-tls
spec:
secretName: nest-redirects-tls
issuerRef:
name: letsencrypt
commonName: nest.pidgin.im
dnsNames:
- nest.pidgin.im