Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adjust Elastic agent Kubernetes recipe #4393

Conversation

thbkrkr
Copy link
Contributor

@thbkrkr thbkrkr commented Mar 30, 2021

Use the correct variable syntax with the env prefix in the configuration of the Elastic agent in the Kubernetes recipe.

The fact that 7.11.x worked with ${NODE_NAME} in standalone mode was a bug. The correct variable syntax is ${env.NODE_NAME} in 7.11.x.

Relates to #4360.

Use ${env.VAR} syntax for environment variables in the configuration
because loading configuration excludes `inputs` from the go-ucfg
variable expansion since elastic/beats#24005.
@thbkrkr thbkrkr added the >test Related to unit/integration/e2e tests label Mar 30, 2021
@thbkrkr
Copy link
Contributor Author

thbkrkr commented Apr 13, 2021

elastic/beats#24842 is still under investigation. I will reopen if necessary.

@thbkrkr thbkrkr merged commit 619de7a into elastic:master Apr 28, 2021
@thbkrkr thbkrkr deleted the fix-elastic-agent-kubernetes-integration-recipe branch May 6, 2021 08:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
>test Related to unit/integration/e2e tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants