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

[v24.2.x] [CORE-7152] Admin: Introduce endpoint #23368

Conversation

oleiman
Copy link
Member

@oleiman oleiman commented Sep 18, 2024

Backport of PR #23314

- features::license_required_feature

Enumeration of redpanda features that require an enterprise license.

- features::enterprise_feature_report

A thin wrapper around a couple of sets to account for the status of
enterprise features (usually based on cluster configs).

Signed-off-by: Oren Leiman <oren.leiman@redpanda.com>
(cherry picked from commit bf972c0)
Also refactor feature_manager::license_required_feature_enabled to
use the report rather than calculating feature status on its own.

Signed-off-by: Oren Leiman <oren.leiman@redpanda.com>
(cherry picked from commit 067df42)

Conflicts:
  src/v/cluster/BUILD (diff against not-yet-existing code)
  src/v/cluster/feature_manager.h (adjacent include)
Signed-off-by: Oren Leiman <oren.leiman@redpanda.com>
(cherry picked from commit 653d5a9)
Signed-off-by: Oren Leiman <oren.leiman@redpanda.com>
(cherry picked from commit d6e33cd)

Conflicts:
  src/v/redpanda/admin/BUILD (diff against not-yet-existing script)
Useful for testing enterprise features, since a condition for
"RBAC enabled" is the presence of one or more non-default roles.

Signed-off-by: Oren Leiman <oren.leiman@redpanda.com>
(cherry picked from commit 5fdc178)
Signed-off-by: Oren Leiman <oren.leiman@redpanda.com>
(cherry picked from commit b5c06fa)
Includes scenarios both with and without a valid license loaded up.

Signed-off-by: Oren Leiman <oren.leiman@redpanda.com>
(cherry picked from commit ebfdd7f)
@oleiman oleiman added this to the v24.2.x-next milestone Sep 18, 2024
@oleiman oleiman added the kind/backport PRs targeting a stable branch label Sep 18, 2024
@oleiman oleiman requested review from a team and michael-redpanda and removed request for a team September 18, 2024 16:43
@oleiman oleiman marked this pull request as ready for review September 18, 2024 16:43
@oleiman oleiman requested a review from a team as a code owner September 18, 2024 16:43
Copy link
Contributor

@michael-redpanda michael-redpanda left a comment

Choose a reason for hiding this comment

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

Need to wait for #23370 to get skip_fips flag

@oleiman
Copy link
Member Author

oleiman commented Sep 18, 2024

/ci-repeat 1

@oleiman oleiman merged commit f65c3be into redpanda-data:v24.2.x Sep 19, 2024
20 checks passed
@BenPope BenPope modified the milestones: v24.2.x-next, v24.2.5 Oct 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/redpanda kind/backport PRs targeting a stable branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants