-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Cherry-pick #18365 to 7.x: [Fleet] Fix agent enrollment script to not create a new enrollment token #18488
Conversation
Pinging @elastic/ingest-management (Team:Ingest Management) |
💔 Build FailedExpand to view the summary
Build stats
Test stats 🧪
Steps errorsExpand to view the steps failures
Log outputExpand to view the last 100 lines of log output
|
jenkins test this please |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks correct, let's see CI, you can ignore obviously unrelated tests
Cherry-pick of PR #18365 to 7.x branch. Original message:
Description
This script is creating a new enrollment token associated to a non existing config (
default
is not a valid id, the id of the default config is a random uuid)I updated this script to get the default enrollment token created during fleet setup instead.
Related to elastic/kibana#65669
Also created an issue on kibana elastic/kibana#65752 to not allow the creation of an enrollment token for a non existing agent config id.