Support disabling Elasticsearch compatibility check running under the agent #3701
Labels
enhancement
New feature or request
Team:Elastic-Agent-Control-Plane
Label for the Agent Control Plane team
Describe the enhancement:
We should have a way of disabling the Elasticsearch compatibility check for testing purposes. There is a time period between minor releases when we need to run next minor version of the agent against a previous minor version of the stack.
Currently we have this error:
Which is coming from here
fleet-server/internal/pkg/server/fleet.go
Line 445 in 9cf5401
The compatibility check is enforced only when Fleet Server is NOT running in the standalone mode and that's exactly how it's running under the agent:
fleet-server/internal/pkg/server/fleet.go
Line 61 in 9cf5401
fleet-server/internal/pkg/server/agent.go
Line 359 in 9cf5401
Describe a specific use case for the enhancement or feature:
Integration tests during the release cycle, when we still don't have a stack of the next minor but already have a snapshot of the agent in the next minor version.
Currently, we have to manually disable some tests for this period of time and then manually re-enable them.
The text was updated successfully, but these errors were encountered: