When the kspm-analzyer is enabled in the agent's configurations, certain additional attributes need to be set both in the agent configuration as well as the pod definition itself in order for the component to function correctly. This PR sets the requisite environment variable and port configurations on the agent pod in those scenarios.
Checklist
[x] Title of the PR starts with type and scope, (e.g. feat(agent,node-analyzer,sysdig-deploy):)
[x] Chart Version bumped for the respective charts
[x] Check GithubAction checks (like lint) to avoid merge-check stoppers
[x] All test files are added in the tests folder of their respective chart and have a "_test" suffix
What this PR does / why we need it:
When the kspm-analzyer is enabled in the agent's configurations, certain additional attributes need to be set both in the agent configuration as well as the pod definition itself in order for the component to function correctly. This PR sets the requisite environment variable and port configurations on the agent pod in those scenarios.
Checklist
feat(agent,node-analyzer,sysdig-deploy):
)