| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130 |
- ---
- kind: Deployment
- apiVersion: apps/v1
- metadata:
- name: cinny
- labels:
- app: cinny
- spec:
- replicas: 1
- selector:
- matchLabels:
- app: cinny
- template:
- metadata:
- labels:
- app: cinny
- spec:
- dnsPolicy: ClusterFirst
- dnsConfig:
- nameservers:
- - 8.8.8.8
- containers:
- - name: cinny
- image: ghcr.io/cinnyapp/cinny:v4.6.0
- #command: ["/bin/bash", "-c", "--"]
- #args: ["while true; do sleep 3; done;"]
- ports:
- - name: web
- containerPort: 80
- volumeMounts:
- - name: "cinny-config"
- mountPath: "/app/config.json"
- subPath: "config-json"
- readOnly: no
- volumes:
- - name: "cinny-config"
- configMap:
- defaultMode: 0777
- name: "cinny-config"
- ---
- apiVersion: v1
- kind: Service
- metadata:
- name: cinny
- spec:
- type: ClusterIP
- ports:
- - name: web
- port: 80
- selector:
- app: cinny
- ---
- apiVersion: traefik.containo.us/v1alpha1
- kind: IngressRoute
- metadata:
- name: cinny-ingress-route
- namespace: default
- spec:
- entryPoints:
- - web
- routes:
- - match: ((Host(`cinny`)||Host(`cinny.dezendorf.net`)))
- kind: Rule
- priority: 1
- services:
- - name: cinny
- port: 80
- ---
- apiVersion: traefik.containo.us/v1alpha1
- kind: IngressRoute
- metadata:
- name: cinny-websecure-route
- namespace: default
- spec:
- entryPoints:
- - websecure
- routes:
- - match: Host(`cinny.dezendorf.net`)
- kind: Rule
- services:
- - name: cinny
- port: 80
- tls:
- certResolver: myresolver
- ---
- apiVersion: v1
- kind: ConfigMap
- metadata:
- name: cinny-config
- namespace: default
- data:
- config-json: |
- {
- "defaultHomeserver": 1,
- "homeserverList": [
- "matrix.dezendorf.net"
- ],
- "allowCustomHomeservers": true,
- "featuredCommunities": {
- "openAsDefault": false,
- "spaces": [
- "#cinny-space:matrix.org",
- "#community:matrix.org",
- "#space:envs.net",
- "#science-space:matrix.org",
- "#libregaming-games:tchncs.de",
- "#mathematics-on:matrix.org"
- ],
- "rooms": [
- "#cinny:matrix.org",
- "#freesoftware:matrix.org",
- "#pcapdroid:matrix.org",
- "#gentoo:matrix.org",
- "#PrivSec.dev:arcticfoxes.net",
- "#disroot:aria-net.org"
- ],
- "servers": ["matrix.dezendorf.net"]
- },
-
- "hashRouter": {
- "enabled": false,
- "basename": "/"
- }
- }
|