-
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
[Serverless] Change default value of enabling config of security apps #162187
[Serverless] Change default value of enabling config of security apps #162187
Conversation
💚 Build Succeeded
Metrics [docs]
To update your PR or re-run it, just comment with: cc @ElenaStoeva |
Pinging @elastic/platform-deployment-management (Team:Deployment Management) |
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.
🚀
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.
LGTM
# Disable UI of security management plugins | ||
xpack.security.ui.userManagementEnabled: false | ||
xpack.security.ui.roleManagementEnabled: false | ||
xpack.security.ui.roleMappingManagementEnabled: false |
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.
note: fwiw, we're going to drop these flags completely soon and rely on a buildFlavor
internally instead (#161930).
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.
Okay, thanks for the heads-up @azasypkin! Would you like me to change this PR so that it uses build flavor instead?
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.
Would you like me to change this PR so that it uses build flavor instead?
Sorry, missed that part. No worries, we'll make this change in a separate PR (we need to disable both APIs and UIs).
…elastic#162187) This is a follow-up to elastic#160671, where the Management plugins were disabled using `contextRef`. The configs for disabling the UI of the security management plugins were added in elastic#158186. In this PR, they are changed so that they follow the same convention for disabling the Management plugins - setting the default values of the configs to `true` and explicitly setting them to `false` in the `serverless.yml` file. This way, we have a clear view in `serverless.yml` of all plugins/functionalities that have been disabled.
This is a follow-up to #160671, where the Management plugins were disabled using
contextRef
.The configs for disabling the UI of the security management plugins were added in #158186. In this PR, they are changed so that they follow the same convention for disabling the Management plugins - setting the default values of the configs to
true
and explicitly setting them tofalse
in theserverless.yml
file. This way, we have a clear view inserverless.yml
of all plugins/functionalities that have been disabled.