--- 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": "/" } }