2023-07-29 14:13:54 +00:00
|
|
|
apiVersion: apps/v1
|
|
|
|
kind: Deployment
|
|
|
|
metadata:
|
|
|
|
name: synapse
|
|
|
|
namespace: synapse
|
|
|
|
spec:
|
2024-12-15 14:45:50 +00:00
|
|
|
replicas: 1
|
2023-07-29 14:13:54 +00:00
|
|
|
selector:
|
|
|
|
matchLabels:
|
|
|
|
app: synapse
|
|
|
|
template:
|
|
|
|
metadata:
|
|
|
|
labels:
|
|
|
|
app: synapse
|
|
|
|
spec:
|
|
|
|
securityContext:
|
|
|
|
fsGroup: 991
|
|
|
|
containers:
|
|
|
|
- name: synapse
|
2024-12-15 14:45:50 +00:00
|
|
|
image: ghcr.io/element-hq/synapse:v1.119.0
|
2023-07-29 14:13:54 +00:00
|
|
|
ports:
|
|
|
|
- containerPort: 8008
|
|
|
|
- containerPort: 9009
|
|
|
|
volumeMounts:
|
|
|
|
- mountPath: "/data"
|
|
|
|
name: synapse-data
|
|
|
|
- mountPath: "/data/homeserver.yaml"
|
|
|
|
name: synapse-config-file
|
|
|
|
subPath: homeserver.yaml
|
2024-12-15 14:45:50 +00:00
|
|
|
- mountPath: "/data/matrix.halis.io.log.config"
|
2023-07-29 14:13:54 +00:00
|
|
|
name: synapse-log-config-file
|
2024-12-15 14:45:50 +00:00
|
|
|
subPath: matrix.halis.io.log.config
|
|
|
|
- mountPath: "/data/double-puppeting.yaml"
|
|
|
|
name: synapse-secret-doublepuppeting
|
|
|
|
subPath: double-puppeting.yaml
|
|
|
|
- mountPath: "/data/signal.yaml"
|
|
|
|
name: signal-secret-registration
|
|
|
|
subPath: signal.yaml
|
2024-12-15 15:26:47 +00:00
|
|
|
- mountPath: "/data/messenger.yaml"
|
|
|
|
name: messenger-secret-registration
|
|
|
|
subPath: messenger.yaml
|
2024-12-15 20:58:03 +00:00
|
|
|
- mountPath: "/data/instagram.yaml"
|
|
|
|
name: instagram-secret-registration
|
|
|
|
subPath: instagram.yaml
|
2023-07-29 14:13:54 +00:00
|
|
|
volumes:
|
|
|
|
- name: synapse-data
|
|
|
|
persistentVolumeClaim:
|
|
|
|
claimName: synapse-pvc
|
|
|
|
- name: synapse-config-file
|
|
|
|
secret:
|
|
|
|
secretName: synapse-secret-config
|
|
|
|
- name: synapse-log-config-file
|
|
|
|
configMap:
|
|
|
|
name: synapse-config
|
2024-12-15 14:45:50 +00:00
|
|
|
- name: synapse-secret-doublepuppeting
|
|
|
|
secret:
|
|
|
|
secretName: synapse-secret-doublepuppeting
|
|
|
|
- name: signal-secret-registration
|
|
|
|
secret:
|
|
|
|
secretName: signal-secret-registration
|
2024-12-15 15:26:47 +00:00
|
|
|
- name: messenger-secret-registration
|
|
|
|
secret:
|
|
|
|
secretName: messenger-secret-registration
|
2024-12-15 20:58:03 +00:00
|
|
|
- name: instagram-secret-registration
|
|
|
|
secret:
|
|
|
|
secretName: instagram-secret-registration
|