forked from k-space/kube
		
	etherpad: Cleanup
This commit is contained in:
		| @@ -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 | kubectl apply -n etherpad -f application.yml | ||||||
|   | |||||||
| @@ -3,6 +3,7 @@ apiVersion: codemowers.io/v1alpha1 | |||||||
| kind: OIDCGWMiddlewareClient | kind: OIDCGWMiddlewareClient | ||||||
| metadata: | metadata: | ||||||
|   name: sso |   name: sso | ||||||
|  |   namespace: etherpad | ||||||
| spec: | spec: | ||||||
|   displayName: Etherpad |   displayName: Etherpad | ||||||
|   uri: 'https://pad.k-space.ee/' |   uri: 'https://pad.k-space.ee/' | ||||||
| @@ -15,6 +16,7 @@ metadata: | |||||||
| spec: | spec: | ||||||
|   # Etherpad does NOT support running multiple replicas due to |   # Etherpad does NOT support running multiple replicas due to | ||||||
|   # in-application caching https://github.com/ether/etherpad-lite/issues/3680 |   # in-application caching https://github.com/ether/etherpad-lite/issues/3680 | ||||||
|  |   revisionHistoryLimit: 0 | ||||||
|   replicas: 1 |   replicas: 1 | ||||||
|   serviceName: etherpad |   serviceName: etherpad | ||||||
|   selector: |   selector: | ||||||
| @@ -75,8 +77,8 @@ spec: | |||||||
|   selector: |   selector: | ||||||
|     app: etherpad |     app: etherpad | ||||||
|   ports: |   ports: | ||||||
|   - protocol: TCP |     - protocol: TCP | ||||||
|     port: 9001 |       port: 9001 | ||||||
| --- | --- | ||||||
| apiVersion: networking.k8s.io/v1 | apiVersion: networking.k8s.io/v1 | ||||||
| kind: Ingress | kind: Ingress | ||||||
| @@ -90,19 +92,19 @@ metadata: | |||||||
|     external-dns.alpha.kubernetes.io/target: traefik.k-space.ee |     external-dns.alpha.kubernetes.io/target: traefik.k-space.ee | ||||||
| spec: | spec: | ||||||
|   rules: |   rules: | ||||||
|   - host: pad.k-space.ee |     - host: pad.k-space.ee | ||||||
|     http: |       http: | ||||||
|       paths: |         paths: | ||||||
|       - pathType: Prefix |           - pathType: Prefix | ||||||
|         path: "/" |             path: "/" | ||||||
|         backend: |             backend: | ||||||
|           service: |               service: | ||||||
|             name: etherpad |                 name: etherpad | ||||||
|             port: |                 port: | ||||||
|               number: 9001 |                   number: 9001 | ||||||
|   tls: |   tls: | ||||||
|   - hosts: |     - hosts: | ||||||
|     - "*.k-space.ee" |         - "*.k-space.ee" | ||||||
| --- | --- | ||||||
| apiVersion: networking.k8s.io/v1 | apiVersion: networking.k8s.io/v1 | ||||||
| kind: NetworkPolicy | kind: NetworkPolicy | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user