I resolved this issue
There is a difference in defining values in the eck-apm-server helm chart compared to all other eck-* charts.
In kibana/fleet/elasticsearch/elastic-agents there is a spec object and the apm-server is the only one that does not conform to this convention.w