apiVersion: v1 kind: ConfigMap metadata: name: element-call-config namespace: media data: config.json: | { "default_server_config": { "m.homeserver": { "base_url": "https://messages.DOMAIN_SUFFIX", "server_name": "DOMAIN_SUFFIX" } }, "livekit": { "livekit_service_url": "https://livekit.DOMAIN_SUFFIX" } } --- apiVersion: apps/v1 kind: Deployment metadata: name: element-call namespace: media spec: replicas: 1 selector: matchLabels: app: element-call template: metadata: labels: app: element-call spec: containers: - name: element-call image: src.sunbeam.pt/studio/element-call:latest ports: - containerPort: 8080 volumeMounts: - name: config mountPath: /app/config.json subPath: config.json readOnly: true livenessProbe: httpGet: path: / port: 8080 initialDelaySeconds: 5 periodSeconds: 15 readinessProbe: httpGet: path: / port: 8080 initialDelaySeconds: 3 periodSeconds: 10 resources: limits: memory: 64Mi cpu: 100m requests: memory: 32Mi cpu: 25m volumes: - name: config configMap: name: element-call-config --- apiVersion: v1 kind: Service metadata: name: element-call namespace: media spec: selector: app: element-call ports: - port: 80 targetPort: 8080