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

[Serverless] Change default value of enabling config of security apps #162187

Merged

Conversation

ElenaStoeva
Copy link
Contributor

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 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.

@ElenaStoeva ElenaStoeva added Team:Kibana Management Dev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and more release_note:skip Skip the PR/issue when compiling release notes labels Jul 18, 2023
@ElenaStoeva ElenaStoeva self-assigned this Jul 18, 2023
@kibana-ci
Copy link
Collaborator

💚 Build Succeeded

Metrics [docs]

✅ unchanged

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

cc @ElenaStoeva

@ElenaStoeva ElenaStoeva marked this pull request as ready for review July 19, 2023 09:40
@ElenaStoeva ElenaStoeva requested review from a team as code owners July 19, 2023 09:40
@elasticmachine
Copy link
Contributor

Pinging @elastic/platform-deployment-management (Team:Deployment Management)

Copy link
Member

@sabarasaba sabarasaba left a comment

Choose a reason for hiding this comment

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

🚀

Copy link
Member

@azasypkin azasypkin left a comment

Choose a reason for hiding this comment

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

LGTM

Comment on lines +50 to +53
# Disable UI of security management plugins
xpack.security.ui.userManagementEnabled: false
xpack.security.ui.roleManagementEnabled: false
xpack.security.ui.roleMappingManagementEnabled: false
Copy link
Member

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).

Copy link
Contributor Author

@ElenaStoeva ElenaStoeva Jul 20, 2023

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?

Copy link
Member

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).

@ElenaStoeva ElenaStoeva merged commit 8fcd199 into elastic:main Jul 24, 2023
@ElenaStoeva ElenaStoeva deleted the contextref-serverless-config-settings branch July 24, 2023 10:21
@kibanamachine kibanamachine added v8.10.0 backport:skip This commit does not require backporting labels Jul 24, 2023
ThomThomson pushed a commit to ThomThomson/kibana that referenced this pull request Aug 1, 2023
…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.
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:Kibana Management Dev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and more v8.10.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants