comms: pin mas/synapse host aliases for DNS

This commit is contained in:
Brad Stein 2026-01-17 17:21:46 -03:00
parent 69d67b39a5
commit 1293ffe0a5
3 changed files with 23 additions and 0 deletions

View File

@ -23,6 +23,15 @@ spec:
app.kubernetes.io/name: matrix-guest-register app.kubernetes.io/name: matrix-guest-register
spec: spec:
serviceAccountName: comms-vault serviceAccountName: comms-vault
hostAliases:
- ip: "10.43.36.27"
hostnames:
- "matrix-authentication-service"
- "matrix-authentication-service.comms.svc.cluster.local"
- ip: "10.43.216.45"
hostnames:
- "othrys-synapse-matrix-synapse"
- "othrys-synapse-matrix-synapse.comms.svc.cluster.local"
securityContext: securityContext:
runAsNonRoot: true runAsNonRoot: true
runAsUser: 10001 runAsUser: 10001

View File

@ -204,6 +204,15 @@ spec:
spec: spec:
serviceAccountName: comms-vault serviceAccountName: comms-vault
automountServiceAccountToken: true automountServiceAccountToken: true
hostAliases:
- ip: "10.43.150.98"
hostnames:
- "othrys-synapse-redis-master"
- "othrys-synapse-redis-master.comms.svc.cluster.local"
- ip: "10.43.36.27"
hostnames:
- "matrix-authentication-service"
- "matrix-authentication-service.comms.svc.cluster.local"
containers: containers:
- name: synapse - name: synapse
command: command:

View File

@ -61,6 +61,11 @@ spec:
spec: spec:
enableServiceLinks: false enableServiceLinks: false
serviceAccountName: comms-vault serviceAccountName: comms-vault
hostAliases:
- ip: "10.43.216.45"
hostnames:
- "othrys-synapse-matrix-synapse"
- "othrys-synapse-matrix-synapse.comms.svc.cluster.local"
nodeSelector: nodeSelector:
hardware: rpi5 hardware: rpi5
affinity: affinity: