From 5df71506cfce3e9ee2cb9f4b5d240fbe0ff4af4a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lauri=20V=C3=B5sandi?= Date: Wed, 16 Aug 2023 10:11:05 +0300 Subject: [PATCH] etherpad: Switch to Passmower --- etherpad/application.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/etherpad/application.yml b/etherpad/application.yml index abb4678..98d10b3 100644 --- a/etherpad/application.yml +++ b/etherpad/application.yml @@ -1,4 +1,12 @@ --- +apiVersion: codemowers.io/v1alpha1 +kind: OIDCGWMiddlewareClient +metadata: + name: sso +spec: + displayName: Etherpad + uri: 'https://pad.k-space.ee/' +--- apiVersion: apps/v1 kind: StatefulSet metadata: @@ -32,6 +40,8 @@ spec: ports: - containerPort: 9001 env: + - name: MINIFY + value: 'false' - name: DB_TYPE value: mysql - name: DB_HOST @@ -82,6 +92,7 @@ metadata: traefik.ingress.kubernetes.io/router.entrypoints: websecure traefik.ingress.kubernetes.io/router.tls: "true" external-dns.alpha.kubernetes.io/target: traefik.k-space.ee + traefik.ingress.kubernetes.io/router.middlewares: etherpad-sso@kubernetescrd spec: rules: - host: pad.k-space.ee