Hi.
Would you tell me what version of Wazuh are you using?
The "ELASTICSEARCH_URL" variable is used when the Manager pod starts. The "1-config-filebeat" script runs a "sed" command to configure the "hosts" parameter in the "filebeat.yml":
https://github.com/wazuh/wazuh-docker/blob/v4.2.7/wazuh-odfe/config/etc/cont-init.d/1-config-filebeat#L6-L9So, if you change the "ELASTICSEARCH_URL" variable, the "hosts" value should change after the Manager pods are restarted. Make sure the environment value is updated for the Master and Worker pods and check that the Manager pods are restarted after the change.
I have verified the behavior with the wazuh-kubernetes deployment for EKS.
Regarding the configMap, are you saying that it overrides the entire directory?