imfreedom/k8s-cluster

08825b698d0e
Parents a7ecd03be4e8
Children 5d2c63b2083e
Add redirects for http->https for all the thingz
--- a/50-carrier.pidgin.im.yaml Wed Feb 12 01:53:59 2020 -0600
+++ b/50-carrier.pidgin.im.yaml Wed Feb 12 02:17:00 2020 -0600
@@ -3,6 +3,23 @@
apiVersion: traefik.containo.us/v1alpha1
kind: IngressRoute
metadata:
+ name: carrier-http
+ namespace: roost
+spec:
+ entryPoints:
+ - http
+ routes:
+ - match: Host(`carrier.pidgin.im`)
+ kind: Rule
+ services:
+ - name: carrier
+ port: 3333
+ middlewares:
+ - name: https-redirect
+---
+apiVersion: traefik.containo.us/v1alpha1
+kind: IngressRoute
+metadata:
name: carrier
namespace: roost
spec:
--- a/50-ci.imfreedom.org.yaml Wed Feb 12 01:53:59 2020 -0600
+++ b/50-ci.imfreedom.org.yaml Wed Feb 12 02:17:00 2020 -0600
@@ -117,6 +117,23 @@
storage: 1Gi
---
apiVersion: traefik.containo.us/v1alpha1
+kind: IngressRoute
+metadata:
+ name: ci-http
+ namespace: imfreedom
+spec:
+ entryPoints:
+ - http
+ routes:
+ - match: Host(`ci.imfreedom.org`)
+ kind: Rule
+ services:
+ - name: ci
+ port: 8111
+ middlewares:
+ - name: https-redirect
+---
+apiVersion: traefik.containo.us/v1alpha1
kind: Middleware
metadata:
name: ci-body-size
--- a/50-data.imfreedom.org.yaml Wed Feb 12 01:53:59 2020 -0600
+++ b/50-data.imfreedom.org.yaml Wed Feb 12 02:17:00 2020 -0600
@@ -12,6 +12,23 @@
apiVersion: traefik.containo.us/v1alpha1
kind: IngressRoute
metadata:
+ name: data-http
+ namespace: imfreedom
+spec:
+ entryPoints:
+ - http
+ routes:
+ - match: Host(`data.imfreedom.org`)
+ kind: Rule
+ services:
+ - name: data
+ port: 9000
+ middlewares:
+ - name: https-redirect
+---
+apiVersion: traefik.containo.us/v1alpha1
+kind: IngressRoute
+metadata:
name: data
namespace: imfreedom
spec:
--- a/50-gaim.pidgin.im.yaml Wed Feb 12 01:53:59 2020 -0600
+++ b/50-gaim.pidgin.im.yaml Wed Feb 12 02:17:00 2020 -0600
@@ -1,3 +1,20 @@
+---
+apiVersion: traefik.containo.us/v1alpha1
+kind: IngressRoute
+metadata:
+ name: gaim-http
+ namespace: roost
+spec:
+ entryPoints:
+ - http
+ routes:
+ - match: Host(`gaim.pidgin.im`)
+ kind: Rule
+ services:
+ - name: gaim
+ port: 80
+ middlewares:
+ - name: https-redirect
---
apiVersion: traefik.containo.us/v1alpha1
kind: IngressRoute
--- a/50-imfreedom.org.yaml Wed Feb 12 01:53:59 2020 -0600
+++ b/50-imfreedom.org.yaml Wed Feb 12 02:17:00 2020 -0600
@@ -1,3 +1,20 @@
+---
+apiVersion: traefik.containo.us/v1alpha1
+kind: IngressRoute
+metadata:
+ name: imfreedom-http
+ namespace: roost
+spec:
+ entryPoints:
+ - http
+ routes:
+ - match: Host(`imfreedom.org`) || Host(`www.imfreedom.org`)
+ kind: Rule
+ services:
+ - name: imfreedom-org
+ port: 3000
+ middlewares:
+ - name: https-redirect
---
apiVersion: traefik.containo.us/v1alpha1
kind: IngressRoute
--- a/50-issues.imfreedom.org.yaml Wed Feb 12 01:53:59 2020 -0600
+++ b/50-issues.imfreedom.org.yaml Wed Feb 12 02:17:00 2020 -0600
@@ -2,6 +2,23 @@
# integrates into hub, and supports importing from multiple issue trackers.
---
apiVersion: traefik.containo.us/v1alpha1
+kind: IngressRoute
+metadata:
+ name: issues-http
+ namespace: imfreedom
+spec:
+ entryPoints:
+ - http
+ routes:
+ - match: Host(`issues.imfreedom.org`)
+ kind: Rule
+ services:
+ - name: issues
+ port: 8080
+ middlewares:
+ - name: https-redirect
+---
+apiVersion: traefik.containo.us/v1alpha1
kind: Middleware
metadata:
name: issues-body-size
--- a/50-keep.imfreedom.org.yaml Wed Feb 12 01:53:59 2020 -0600
+++ b/50-keep.imfreedom.org.yaml Wed Feb 12 02:17:00 2020 -0600
@@ -21,6 +21,23 @@
namespace: roost
spec:
entryPoints:
+ - http
+ routes:
+ - match: Host(`keep.imfreedom.org`)
+ kind: Rule
+ services:
+ - name: keep-http
+ port: 8080
+ middlewares:
+ - name: https-redirect
+---
+apiVersion: traefik.containo.us/v1alpha1
+kind: IngressRoute
+metadata:
+ name: keep-https
+ namespace: roost
+spec:
+ entryPoints:
- https
routes:
- match: Host(`keep.imfreedom.org`)
--- a/50-reviews.imfreedom.org.yaml Wed Feb 12 01:53:59 2020 -0600
+++ b/50-reviews.imfreedom.org.yaml Wed Feb 12 02:17:00 2020 -0600
@@ -3,6 +3,23 @@
apiVersion: traefik.containo.us/v1alpha1
kind: IngressRoute
metadata:
+ name: reviews-http
+ namespace: roost
+spec:
+ entryPoints:
+ - http
+ routes:
+ - match: Host(`reviews.imfreedom.org`)
+ kind: Rule
+ services:
+ - name: reviews-reviewboard
+ port: 8000
+ middlewares:
+ - name: https-redirect
+---
+apiVersion: traefik.containo.us/v1alpha1
+kind: IngressRoute
+metadata:
name: reviews
namespace: roost
spec:
--- a/50-xmpp.imfreedom.org.yaml Wed Feb 12 01:53:59 2020 -0600
+++ b/50-xmpp.imfreedom.org.yaml Wed Feb 12 02:17:00 2020 -0600
@@ -4,6 +4,23 @@
apiVersion: traefik.containo.us/v1alpha1
kind: IngressRoute
metadata:
+ name: xmpp-imfreedom-http
+ namespace: roost
+spec:
+ entryPoints:
+ - http
+ routes:
+ - match: Host(`xmpp.imfreedom.org`) || Host(`conference.imfreedom.org`)
+ kind: Rule
+ services:
+ - name: prosody
+ port: 5280
+ middlewares:
+ - name: https-redirect
+---
+apiVersion: traefik.containo.us/v1alpha1
+kind: IngressRoute
+metadata:
name: xmpp-imfreedom
namespace: roost
spec:
@@ -21,6 +38,23 @@
apiVersion: traefik.containo.us/v1alpha1
kind: IngressRoute
metadata:
+ name: xmpp-pidgin-http
+ namespace: roost
+spec:
+ entryPoints:
+ - http
+ routes:
+ - match: Host(`xmpp.pidgin.im`) || Host(`conference.pidgin.im`)
+ kind: Rule
+ services:
+ - name: prosody
+ port: 5280
+ middlewares:
+ - name: https-redirect
+---
+apiVersion: traefik.containo.us/v1alpha1
+kind: IngressRoute
+metadata:
name: xmpp-pidgin
namespace: roost
spec: