Remove hostAliases from Matrix RTC SFU

This commit is contained in:
Ben Banfield-Zanin committed 2025-06-24 13:21:33 +01:00
1 parent 0ba0768ff1
commit 23c04fbd0c
6 files changed
+2 -34

No files matched your search

@@ -165,9 +165,6 @@
"containersSecurityContext": {
"$ref": "file://common/containersSecurityContext.json"
},
"hostAliases": {
"$ref": "file://common/hostAliases.json"
},
"nodeSelector": {
"$ref": "file://common/nodeSelector.json"
},
@@ -66,7 +66,6 @@ sfu:
{{- sub_schema_values.labels() | indent(2) }}
{{- sub_schema_values.workloadAnnotations() | indent(2) }}
{{- sub_schema_values.containersSecurityContext() | indent(2) }}
{{- sub_schema_values.hostAliases() | indent(2) }}
{{- sub_schema_values.nodeSelector() | indent(2) }}
{{- sub_schema_values.podSecurityContext(user_id='10030', group_id='10030') | indent(2) }}
{{- sub_schema_values.resources(requests_memory='150Mi', requests_cpu='100m', limits_memory='4Gi') | indent(2) }}
-18
View File
@@ -1805,24 +1805,6 @@
"type": "object",
"additionalProperties": false
},
"hostAliases": {
"type": "array",
"items": {
"type": "object",
"properties": {
"ip": {
"type": "string"
},
"hostnames": {
"type": "array",
"items": {
"type": "string"
}
}
},
"additionalProperties": false
}
},
"nodeSelector": {
"type": "object",
"additionalProperties": {
-12
View File
@@ -742,18 +742,6 @@ matrixRTC:
## localhostProfile must only be set set if type Localhost. It indicates the path of the pre-configured profile on the node, relative to the kubelet's configured Seccomp profile location (configured with the --root-dir flag).
# seccompProfile:
# type: RuntimeDefault
## The list of hosts aliases to configure on the pod spec.
## It should be avoid as much as possible to use this feature.
## Please prefer using an DNS entry to resolve your hostnames.
## This can be used as a workaround when entries cannot be resolved using DNS, for example for our automated testings.
## e.g.
## hostAliases:
## - ip: 192.0.2.1 # An IP resolution to add to /etc/hosts
## # A list of hostnames to be associated with the above IP
## hostnames:
## - ess.localhost
## - synapse.ess.localhost
hostAliases: []
## NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/
# nodeSelector: {}
## A subset of PodSecurityContext. PodSecurityContext holds pod-level security attributes and common container settings
+1
View File
@@ -0,0 +1 @@
Removed `hostAliases` support from Matrix RTC SFU as it doesn't make outbound requests.
+1
View File
@@ -461,6 +461,7 @@ all_components_details = [
has_topology_spread_constraints=False,
has_ingress=False,
has_replicas=False,
makes_outbound_requests=False,
),
),
shared_component_names=("init-secrets",),