-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
[Fleet] Add install_format_version to package and reinstall on setup #135485
[Fleet] Add install_format_version to package and reinstall on setup #135485
Conversation
9daa2fd
to
d406261
Compare
Pinging @elastic/fleet (Team:Fleet) |
x-pack/plugins/fleet/server/services/setup/upgrade_package_install_version.ts
Show resolved
Hide resolved
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.
code LGTM
@elasticmachine merge upstream |
💚 Build SucceededMetrics [docs]Public APIs missing comments
Saved Objects .kibana field count
History
To update your PR or re-run it, just comment with: cc @nchaulet |
Summary
Resolve #121099
That PR allow to reinstall packages and related es assets, like index template, ... when we made a change on how we install them in Fleet.
To do so I added a new
install_format_version
on the package saved object and on setup if that version is less than the current version we reinstall packages.This is covered by an integration test.