etherpad: Switch to Passmower

This commit is contained in:
Lauri Võsandi 2023-08-16 10:11:05 +03:00
parent 508c03268e
commit 5df71506cf

View File

@ -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 apiVersion: apps/v1
kind: StatefulSet kind: StatefulSet
metadata: metadata:
@ -32,6 +40,8 @@ spec:
ports: ports:
- containerPort: 9001 - containerPort: 9001
env: env:
- name: MINIFY
value: 'false'
- name: DB_TYPE - name: DB_TYPE
value: mysql value: mysql
- name: DB_HOST - name: DB_HOST
@ -82,6 +92,7 @@ metadata:
traefik.ingress.kubernetes.io/router.entrypoints: websecure traefik.ingress.kubernetes.io/router.entrypoints: websecure
traefik.ingress.kubernetes.io/router.tls: "true" traefik.ingress.kubernetes.io/router.tls: "true"
external-dns.alpha.kubernetes.io/target: traefik.k-space.ee external-dns.alpha.kubernetes.io/target: traefik.k-space.ee
traefik.ingress.kubernetes.io/router.middlewares: etherpad-sso@kubernetescrd
spec: spec:
rules: rules:
- host: pad.k-space.ee - host: pad.k-space.ee