Skip to content

[9.1] Ensure fleet deployment uses fleet url provided by fleet_server_host_id (#225699)#225871

Merged
kibanamachine merged 1 commit intoelastic:9.1from
kibanamachine:backport/9.1/pr-225699
Jun 30, 2025
Merged

[9.1] Ensure fleet deployment uses fleet url provided by fleet_server_host_id (#225699)#225871
kibanamachine merged 1 commit intoelastic:9.1from
kibanamachine:backport/9.1/pr-225699

Conversation

@kibanamachine
Copy link
Contributor

Backport

This will backport the following commits from main to 9.1:

Questions ?

Please refer to the Backport tool documentation

…id (elastic#225699)

## Summary

Resolves: elastic#221900

In an ECH environment, if a user creates a new fleet server and sets it
as default, a new agentless deployment can be created that uses the url
of the new default fleet server, but the enrollment API key of the
expected preconfigured fleet server. For agentless deployments, we'll
want to use the default managed fleet server provided in the cloud
environment. This PR ensures we use the fleet server id provided in the request to obtain the url.

---------

Co-authored-by: Julia Bardi <90178898+juliaElastic@users.noreply.github.com>
(cherry picked from commit 09abd61)
@kibanamachine kibanamachine added the backport This PR is a backport of another PR label Jun 30, 2025
@kibanamachine kibanamachine enabled auto-merge (squash) June 30, 2025 15:34
@botelastic botelastic bot added the Team:Fleet Team label for Observability Data Collection Fleet team label Jun 30, 2025
@elasticmachine
Copy link
Contributor

Pinging @elastic/fleet (Team:Fleet)

@kibanamachine kibanamachine merged commit d54caec into elastic:9.1 Jun 30, 2025
16 checks passed
@elasticmachine
Copy link
Contributor

💚 Build Succeeded

Metrics [docs]

✅ unchanged

cc @MichelLosier

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport This PR is a backport of another PR Team:Fleet Team label for Observability Data Collection Fleet team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants