File tree Expand file tree Collapse file tree 2 files changed +23
-21
lines changed
kubernetes/applications/matrix Expand file tree Collapse file tree 2 files changed +23
-21
lines changed Original file line number Diff line number Diff line change @@ -21,23 +21,23 @@ data:
2121 - names: [client, federation]
2222 compress: false
2323
24- # Database - usa env vars
24+ # Database - valori hardcoded tranne la password
2525 database:
2626 name: psycopg2
2727 args:
28- user: ${POSTGRES_USER}
28+ user: synapse
2929 password: ${POSTGRES_PASSWORD}
30- database: ${POSTGRES_DB}
31- host: ${POSTGRES_HOST}
32- port: ${POSTGRES_PORT}
30+ database: synapse
31+ host: 192.168.0.30
32+ port: 5432
3333 cp_min: 5
3434 cp_max: 10
3535
36- # Redis - usa env vars con username
36+ # Redis - valori hardcoded tranne la password
3737 redis:
3838 enabled: true
39- host: ${SYNAPSE_REDIS_HOST}
40- port: ${SYNAPSE_REDIS_PORT}
39+ host: matrix-redis.apps.svc.cluster.local
40+ port: 6379
4141 password: ${SYNAPSE_REDIS_PASSWORD}
4242
4343 log_config: "/data/log.config"
Original file line number Diff line number Diff line change 4646 value : " matrix.ildoc.it"
4747 - name : SYNAPSE_REPORT_STATS
4848 value : " no"
49- - name : POSTGRES_HOST
50- value : " 192.168.0.30"
51- - name : POSTGRES_PORT
52- value : " 5432"
53- - name : POSTGRES_DB
54- value : " matrix_db"
55- - name : POSTGRES_USER
56- value : " matrix_user"
5749 - name : POSTGRES_PASSWORD
5850 valueFrom :
5951 secretKeyRef :
@@ -121,16 +113,26 @@ spec:
121113 secretKeyRef :
122114 name : matrix-cross-secrets
123115 key : postgres-password
124- # Redis configuration
125- - name : SYNAPSE_REDIS_HOST
126- value : " matrix-redis.apps.svc.cluster.local"
127- - name : SYNAPSE_REDIS_PORT
128- value : " 6379"
129116 - name : SYNAPSE_REDIS_PASSWORD
130117 valueFrom :
131118 secretKeyRef :
132119 name : matrix-redis-secret
133120 key : password
121+ - name : REGISTRATION_SHARED_SECRET
122+ valueFrom :
123+ secretKeyRef :
124+ name : matrix-k8s-secrets
125+ key : registration-shared-secret
126+ - name : MACAROON_SECRET_KEY
127+ valueFrom :
128+ secretKeyRef :
129+ name : matrix-k8s-secrets
130+ key : macaroon-secret-key
131+ - name : FORM_SECRET
132+ valueFrom :
133+ secretKeyRef :
134+ name : matrix-k8s-secrets
135+ key : form-secret
134136 ports :
135137 - containerPort : 8008
136138 name : http
You can’t perform that action at this time.
0 commit comments