forked from k-space/kube
etherpad: Cleanup
This commit is contained in:
parent
b0befbcd69
commit
70e589ef45
@ -1,4 +1,15 @@
|
||||
To apply changes:
|
||||
# Etherpad namespace
|
||||
|
||||
# For users
|
||||
|
||||
Etherpad is a simple publicly available application for taking notes
|
||||
running at [pad.k-space.ee](https://pad.k-space.ee/)
|
||||
|
||||
# For administrators
|
||||
|
||||
This application is managed by [ArgoCD](https://argocd.k-space.ee/applications/argocd/etherpad)
|
||||
|
||||
In case ArgoCD is broken you can manually deploy changes with:
|
||||
|
||||
```
|
||||
kubectl apply -n etherpad -f application.yml
|
||||
|
@ -3,6 +3,7 @@ apiVersion: codemowers.io/v1alpha1
|
||||
kind: OIDCGWMiddlewareClient
|
||||
metadata:
|
||||
name: sso
|
||||
namespace: etherpad
|
||||
spec:
|
||||
displayName: Etherpad
|
||||
uri: 'https://pad.k-space.ee/'
|
||||
@ -15,6 +16,7 @@ metadata:
|
||||
spec:
|
||||
# Etherpad does NOT support running multiple replicas due to
|
||||
# in-application caching https://github.com/ether/etherpad-lite/issues/3680
|
||||
revisionHistoryLimit: 0
|
||||
replicas: 1
|
||||
serviceName: etherpad
|
||||
selector:
|
||||
@ -75,8 +77,8 @@ spec:
|
||||
selector:
|
||||
app: etherpad
|
||||
ports:
|
||||
- protocol: TCP
|
||||
port: 9001
|
||||
- protocol: TCP
|
||||
port: 9001
|
||||
---
|
||||
apiVersion: networking.k8s.io/v1
|
||||
kind: Ingress
|
||||
@ -90,19 +92,19 @@ metadata:
|
||||
external-dns.alpha.kubernetes.io/target: traefik.k-space.ee
|
||||
spec:
|
||||
rules:
|
||||
- host: pad.k-space.ee
|
||||
http:
|
||||
paths:
|
||||
- pathType: Prefix
|
||||
path: "/"
|
||||
backend:
|
||||
service:
|
||||
name: etherpad
|
||||
port:
|
||||
number: 9001
|
||||
- host: pad.k-space.ee
|
||||
http:
|
||||
paths:
|
||||
- pathType: Prefix
|
||||
path: "/"
|
||||
backend:
|
||||
service:
|
||||
name: etherpad
|
||||
port:
|
||||
number: 9001
|
||||
tls:
|
||||
- hosts:
|
||||
- "*.k-space.ee"
|
||||
- hosts:
|
||||
- "*.k-space.ee"
|
||||
---
|
||||
apiVersion: networking.k8s.io/v1
|
||||
kind: NetworkPolicy
|
||||
|
Loading…
Reference in New Issue
Block a user