fix(mycloud-matrix): networkpolicy for element call jwt to dns

This commit is contained in:
WrenIX 2024-09-09 10:33:08 +02:00
parent 9d52fbaf45
commit 2c7608d85a
Signed by: wrenix
GPG key ID: 7AFDB012974B1BB5
2 changed files with 9 additions and 1 deletions

View file

@ -92,7 +92,14 @@ spec:
egress: egress:
enabled: true enabled: true
extra: extra:
{{- toYaml .Values.commons.networkpolicies.to.matrix | nindent 14 }} - ports:
- port: 53
protocol: UDP
to:
{{- toYaml .Values.commons.networkpolicies.to.dns | nindent 18 }}
{{- with .Values.commons.networkpolicies.to.matrix }}
{{- toYaml . | nindent 14 }}
{{- end }}
{{- end }} {{- end }}
config: config:
key: {{ .Values.ingress.elementCall.livekitJWT.livekit.key | default .Values.livekit.key }} key: {{ .Values.ingress.elementCall.livekitJWT.livekit.key | default .Values.livekit.key }}

View file

@ -92,6 +92,7 @@ commons:
ingress: [] ingress: []
metrics: [] metrics: []
to: to:
dns: []
smtp: [] smtp: []
matrix: [] matrix: []