imfreedom/k8s-cluster
Replace all of the ingress resources in imfreedom with ingressroute resources
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/40-imfreedom-middleware.yaml Tue Feb 11 03:19:05 2020 -0600
@@ -0,0 +1,21 @@
+# This file contains common traefik middleware for the roost namespace. +apiVersion: traefik.containo.us/v1alpha1 + X-Frame-Options: SAMEORIGIN +apiVersion: traefik.containo.us/v1alpha1 --- a/50-ci.imfreedom.org.yaml Tue Feb 11 02:43:29 2020 -0600
+++ b/50-ci.imfreedom.org.yaml Tue Feb 11 03:19:05 2020 -0600
@@ -116,38 +116,30 @@
-apiVersion: extensions/v1beta1
+apiVersion: traefik.containo.us/v1alpha1
- cert-manager.io/issuer: letsencrypt
- nginx.ingress.kubernetes.io/proxy-body-size: 16m
- nginx.ingress.kubernetes.io/configuration-snippet: |
- more_set_headers "X-Frame-Options: SAMEORIGIN";
- - host: ci.imfreedom.org
+ - match: Host(`ci.imfreedom.org`)
apiVersion: cert-manager.io/v1alpha2
@@ -192,7 +184,7 @@
@@ -224,6 +216,9 @@
image: docker.io/rwgrim/teamcity-server:latest
+ - name: TEAMCITY_SERVER_MEM_OPTS + value: -XX:+UnlockExperimentalVMOptions -XX:+UseCGroupMemoryLimitForHeap -Xmx3g -XX:ReservedCodeCacheSize=350m @@ -232,7 +227,7 @@
- mountPath: /data/teamcity_server/datadir/
--- a/50-data.imfreedom.org.yaml Tue Feb 11 02:43:29 2020 -0600
+++ b/50-data.imfreedom.org.yaml Tue Feb 11 03:19:05 2020 -0600
@@ -1,29 +1,35 @@
-apiVersion: extensions/v1beta1
+apiVersion: traefik.containo.us/v1alpha1 + - match: Host(`data.imfreedom.org`) +apiVersion: cert-manager.io/v1alpha2
- cert-manager.io/issuer: letsencrypt
- nginx.ingress.kubernetes.io/proxy-body-size: 200m
- nginx.ingress.kubernetes.io/configuration-snippet: |
- more_set_headers "X-Frame-Options: SAMEORIGIN";
- - host: data.imfreedom.org
+ commonName: data.imfreedom.org @@ -57,7 +63,7 @@
--- a/50-hub.imfreedom.org.yaml Tue Feb 11 02:43:29 2020 -0600
+++ b/50-hub.imfreedom.org.yaml Tue Feb 11 03:19:05 2020 -0600
@@ -1,30 +1,37 @@
# hub is a deployment of jetbrains hub software which we use for a centralized
# authentication platform.
-apiVersion: extensions/v1beta1
+apiVersion: traefik.containo.us/v1alpha1 + - match: Host(`hub.imfreedom.org`) +apiVersion: cert-manager.io/v1alpha2
- cert-manager.io/issuer: letsencrypt
- nginx.ingress.kubernetes.io/configuration-snippet: |
- more_set_headers "X-Frame-Options: SAMEORIGIN";
- - host: hub.imfreedom.org
+ commonName: hub.imfreedom.org @@ -58,7 +65,7 @@
--- a/50-issues.imfreedom.org.yaml Tue Feb 11 02:43:29 2020 -0600
+++ b/50-issues.imfreedom.org.yaml Tue Feb 11 03:19:05 2020 -0600
@@ -1,32 +1,37 @@
# youtrack is an issue tracker from jetbrains. It supports multiple projects,
# integrates into hub, and supports importing from multiple issue trackers.
-apiVersion: extensions/v1beta1
+apiVersion: traefik.containo.us/v1alpha1 + - match: Host(`issues.imfreedom.org`) +apiVersion: cert-manager.io/v1alpha2
- cert-manager.io/issuer: letsencrypt
- nginx.ingress.kubernetes.io/proxy-body-size: 16m
- nginx.ingress.kubernetes.io/configuration-snippet: |
- more_set_headers "X-Frame-Options: SAMEORIGIN";
- - host: issues.imfreedom.org
+ commonName: issues.imfreedom.org @@ -64,7 +69,7 @@