Skip to content
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

[UII] Replace kibanaVersionCheckEnabled default value instead of config setting #198172

Merged
merged 4 commits into from
Oct 30, 2024

Conversation

jen-huang
Copy link
Contributor

@jen-huang jen-huang commented Oct 29, 2024

Summary

This PR removes xpack.fleet.internal.registry.kibanaVersionCheckEnabled: false from kibana.yml in favor of changing the default value that Fleet populates, so that we do not apply the Kibana version constraint to EPR requests for >= 9.0 deployments.

Prior to this change, this setting was not applied to ESS deployments as kibana.yml is overridden there.

I updated the related task in #192624 to reflect this change.

@jen-huang jen-huang self-assigned this Oct 29, 2024
@jen-huang jen-huang requested review from a team as code owners October 29, 2024 17:08
@botelastic botelastic bot added the Team:Fleet Team label for Observability Data Collection Fleet team label Oct 29, 2024
@elasticmachine
Copy link
Contributor

Pinging @elastic/fleet (Team:Fleet)

@jen-huang jen-huang added release_note:skip Skip the PR/issue when compiling release notes backport:skip This commit does not require backporting and removed 💝community labels Oct 29, 2024
Copy link
Member

@kpollich kpollich left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense to me from the Fleet side of things.

@elasticmachine
Copy link
Contributor

💚 Build Succeeded

Metrics [docs]

✅ unchanged

History

cc @jen-huang

capabilities: [],
excludePackages: [],
spec: {
internal: schema.object({
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

made this schema object non-optional (removed schema.maybe wrapper), because the default values do not populate when it is optional, i.e. kibanaVersionCheckEnabled is undefined instead of false

Copy link
Member

@afharo afharo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Q: Should this PR be flagged as breaking change?

@jen-huang
Copy link
Contributor Author

LGTM. Q: Should this PR be flagged as breaking change?

@afharo No, we plan on restoring the original behavior after elastic/package-registry#1226 is addressed.

@jen-huang jen-huang merged commit 950ee16 into elastic:main Oct 30, 2024
23 checks passed
@jen-huang jen-huang deleted the fix/9.0-version-check branch October 30, 2024 21:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport:skip This commit does not require backporting release_note:skip Skip the PR/issue when compiling release notes Team:Fleet Team label for Observability Data Collection Fleet team v9.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants