Prevent users from upgrading standalone agents in container, deb, and rpm environments #5832
Closed
Description
Describe the enhancement:
Standalone Elastic Agents that are running in a container or deployed via DEB or RPM packages should not be upgradable using the elastic-agent upgrade ...
CLI command.
Describe a specific use case for the enhancement or feature:
What is the definition of done?
Running elastic-agent upgrade
for standalone Elastic Agents should fail with a descriptive message when Elastic Agent is deployed:
- in a container
- via a DEB package
- via an RPM package