elastic / elastic-package

elastic-package - Command line tool for developing Elastic Integrations
Other
44 stars 107 forks source link

Enable independent agents if root privileges are required at both package or data stream level #1840

Closed mrodm closed 2 weeks ago

mrodm commented 2 weeks ago

Follows #1724 Relates #1586

This PR also enables independent Elastic Agents in case root privileges are defined in the Data Stream manifest.

If any of the two files (package manifest or Data Stream manifest) defines that root privileges are required, it is enabled independent Elastic Agents.

As previously, if the environment variable ELASTIC_PACKAGE_TEST_ENABLE_INDEPENENT_AGENT is set, it has preference over the values defined in those manifests.

mrodm commented 2 weeks ago

test integrations

elasticmachine commented 2 weeks ago

Created or updated PR in integrations repository to test this version. Check https://github.com/elastic/integrations/pull/9904

elasticmachine commented 2 weeks ago

:broken_heart: Build Failed

Failed CI Steps

History

cc @mrodm

mrodm commented 2 weeks ago

Failures are unrelated, merging.