diff --git a/charts/matrix-stack/source/matrix-rtc.json b/charts/matrix-stack/source/matrix-rtc.json index 6aee5baa..5bc8e445 100644 --- a/charts/matrix-stack/source/matrix-rtc.json +++ b/charts/matrix-stack/source/matrix-rtc.json @@ -165,9 +165,6 @@ "containersSecurityContext": { "$ref": "file://common/containersSecurityContext.json" }, - "hostAliases": { - "$ref": "file://common/hostAliases.json" - }, "nodeSelector": { "$ref": "file://common/nodeSelector.json" }, diff --git a/charts/matrix-stack/source/matrix-rtc.yaml.j2 b/charts/matrix-stack/source/matrix-rtc.yaml.j2 index 4f79fcd2..9410a1c5 100644 --- a/charts/matrix-stack/source/matrix-rtc.yaml.j2 +++ b/charts/matrix-stack/source/matrix-rtc.yaml.j2 @@ -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) }} diff --git a/charts/matrix-stack/values.schema.json b/charts/matrix-stack/values.schema.json index e7aa3a49..a32f1d86 100644 --- a/charts/matrix-stack/values.schema.json +++ b/charts/matrix-stack/values.schema.json @@ -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": { diff --git a/charts/matrix-stack/values.yaml b/charts/matrix-stack/values.yaml index e46a3680..b8966728 100644 --- a/charts/matrix-stack/values.yaml +++ b/charts/matrix-stack/values.yaml @@ -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 diff --git a/newsfragments/574.changed.md b/newsfragments/574.changed.md new file mode 100644 index 00000000..1d6e8d81 --- /dev/null +++ b/newsfragments/574.changed.md @@ -0,0 +1 @@ +Removed `hostAliases` support from Matrix RTC SFU as it doesn't make outbound requests. diff --git a/tests/manifests/__init__.py b/tests/manifests/__init__.py index db8e5aa9..da33d1ae 100644 --- a/tests/manifests/__init__.py +++ b/tests/manifests/__init__.py @@ -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",),