imfreedom/k8s-cluster

698b0fb1d659
Parents 7c238a3bfbea
Children 5baa0f034783
Finish moving old.pidgin.im to the cluster
--- a/50-nest.pidgin.im.yaml Fri Jan 29 06:07:41 2021 -0600
+++ b/50-nest.pidgin.im.yaml Thu Feb 04 03:21:55 2021 -0600
@@ -187,6 +187,56 @@
- conference.pidgin.im
- xmpp.pidgin.im
---
+apiVersion: traefik.containo.us/v1alpha1
+kind: IngressRoute
+metadata:
+ name: old-http
+ namespace: roost
+spec:
+ entryPoints:
+ - http
+ routes:
+ - match: Host(`old.pidgin.im`)
+ kind: Rule
+ services:
+ - name: oldsite
+ port: 80
+ middlewares:
+ - name: https-redirect
+---
+apiVersion: traefik.containo.us/v1alpha1
+kind: IngressRoute
+metadata:
+ name: old-https
+ namespace: roost
+spec:
+ entryPoints:
+ - https
+ routes:
+ - match: Host(`old.pidgin.im`)
+ kind: Rule
+ services:
+ - name: oldsite
+ port: 80
+ middlewares:
+ - name: common-headers
+ - name: hsts-headers
+ tls:
+ secretName: old-tls
+---
+apiVersion: cert-manager.io/v1alpha2
+kind: Certificate
+metadata:
+ namespace: roost
+ name: old-tls
+spec:
+ secretName: old-tls
+ issuerRef:
+ name: letsencrypt
+ commonName: old.pidgin.im
+ dnsNames:
+ - old.pidgin.im
+---
apiVersion: v1
kind: Service
metadata: