-
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
Fix plugin enabled config options #60998
Conversation
Pinging @elastic/kibana-platform (Team:Platform) |
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.
Alerting code LGTM
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.
should we add a warning or even throw an error if schema presents, but schema.enabled
is not defined?
Maybe a warning. But if we want that to be mandatory, I think we should just add it when missing instead of throwing an error? |
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.
observability
changes seem trivial 👍
I don't think an exception is the right idea. There are some plugins that I didn't add the
I choose not to add these for two main reasons:
Since I'm just trying to get this in to 7.7 to maintain BWC in our config, I don't think we need to add these now. I would accept that maybe we should require the ability to disable of all of these plugins, but that will require more changes than I'm comfortable with for this PR. I can do that in a follow up though! |
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.
app arch changes LGTM
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.
Kibana App code looks good to me.
💚 Build SucceededHistory
To update your PR or re-run it, just comment with: |
Summary
Fixes #58713
This PR does two things:
enabled
key to any plugin config schemas that are missing it and must have itconfigPath
for any NP plugins that either didn't match their existing legacyconfigPrefix
or the previous prefix they had prior to migration.xpack
prefix. This is to maintain BWC with their previously defined settings such astranslations
andconsole_extensions
. In a future change, these could be renamed using the deprecations framework, however in this PR I just wanted to get things in a BWC state.Checklist
Delete any items that are not applicable to this PR.
For maintainers