wazuh-helm icon indicating copy to clipboard operation
wazuh-helm copied to clipboard

[Bug] The agent from the latest image `wazuh/wazuh-agent:4.14.1` does not accept environment variables, loses settings, and cannot connect to the server

Open kinseii opened this issue 1 month ago • 9 comments

The agent from the latest image wazuh/wazuh-agent:4.14.1 does not accept environment variables, loses settings, and cannot connect to the server:

values:
  images:
    repository: wazuh/wazuh-agent
    tag: "4.14.1"

Reverting to opennix/wazuh-agent:4.11.1 works.

kinseii avatar Nov 24 '25 15:11 kinseii

you need to use the repository: opennix/wazuh-agent tag: 4.11.1 - works there. The Stack here is designed to go with opennix

pvyswiss avatar Nov 28 '25 07:11 pvyswiss

you need to use the repository: opennix/wazuh-agent tag: 4.11.1 - works there. The Stack here is designed to go with opennix

Yes, but the chart itself uses the image version from wazuh itself.

kinseii avatar Nov 28 '25 09:11 kinseii

you need to use the repository: opennix/wazuh-agent tag: 4.11.1 - works there. The Stack here is designed to go with opennix

Yes, but the chart itself uses the image version from wazuh itself.

https://github.com/morgoved/wazuh-helm/blob/2d3e96e8162e74dff490609eb546688a4ecfc1c0/charts/wazuh/values.yaml#L1085

kinseii avatar Nov 28 '25 11:11 kinseii

@morgoved Will we be switching the chart to a new agent from Wazuh itself?

kinseii avatar Dec 01 '25 06:12 kinseii

@kinseii if you have more better solution you can try to provide it)

morgoved avatar Dec 01 '25 08:12 morgoved

@kinseii if you have more beter solution you can try to provide it)

It's just a question, maybe something like that is planned.

kinseii avatar Dec 01 '25 08:12 kinseii

Currently this is only one agent with latest Wazuh version.

morgoved avatar Dec 01 '25 08:12 morgoved

Currently this is only one agent with latest Wazuh version.

Maybe it would be better to return the agent image from opennix to the chart? Maybe it's just me, but can anyone confirm that the agent from wazuh itself doesn't work with this chart?

kinseii avatar Dec 01 '25 08:12 kinseii

Same on my side: the agent cannot connect when using the default image, even though all environment variables are correctly present in the pod where the agent is running.

P4F1 avatar Dec 01 '25 09:12 P4F1