[Backport 7.60.x] Add apm_config.additional_endpoints to authorized config paths #31969
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Backport 07187c1 from #31851.
<!--
-->
What does this PR do?
Adds
apm_config.additional_endpoints
to the set of authorized config paths.Motivation
As part of #incident-33011 we noticed that configsync in the otel agent wasn't updating the API key from
apm_config.additional_endpoints
. This change fixes this issue and the otel agent is able to fetch the additional endpoints API key from the core agent to send traces.Describe how you validated your changes
<!--
Validate your changes before merge, ensuring that:
If you want additional validation by a second person, you can ask reviewers to do it. Describe how to set up an environment for manual tests in the PR description. Manual validation is expected to happen on every commit before merge.
Any manual validation step should then map to an automated test. Manual validation should not substitute automation, minus exceptions not supported by test tooling yet.
-->
Validated locally
Possible Drawbacks / Trade-offs
Additional Notes
<!--
version was chosen.
-->