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

Remove cloud-specific topics from topic protection defaults #9453

Merged
merged 1 commit into from
Apr 10, 2023

Conversation

ballard26
Copy link
Contributor

This removes Cloud-specific internal topics from the internal topic protection defaults. This is mainly to enforce a separation of concerns as the Cloud team should be able to maintain their own set of defaults that are applied with k8s.

Backports Required

  • none - not a bug fix
  • none - this is a backport
  • none - issue does not exist in previous branches
  • none - papercut/not impactful enough to backport
  • v23.1.x
  • v22.3.x
  • v22.2.x

Release Notes

  • none

@@ -966,7 +966,7 @@ configuration::configuration()
"kafka_nodelete_topics",
"Prevents the topics in the list from being deleted via the kafka api",
{.needs_restart = needs_restart::no, .visibility = visibility::user},
{"__audit", "__consumer_offsets", "__redpanda_e2e_probe", "_schemas"})
{"__audit", "__consumer_offsets", "_schemas"})
Copy link
Member

Choose a reason for hiding this comment

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

@graphcareful any implications on metering?

Copy link
Contributor

Choose a reason for hiding this comment

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

Nope, metering has its own hardcoded list of topics:

static const auto usage_excluded_topics = std::to_array(
  {model::topic("_schemas"),
   model::topic("__audit"),
   model::topic("__redpanda_e2e_probe")});

Copy link
Contributor

Choose a reason for hiding this comment

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

So is this PR good to go, @dotnwat and @graphcareful ?

graphcareful
graphcareful previously approved these changes Apr 10, 2023
@emaxerrno
Copy link
Contributor

cc: @tcoupland and @bpraseed and @c4milo - we need cloud to propagate this property w/ the e2e probe.

@piyushredpanda piyushredpanda merged commit 93e239a into redpanda-data:dev Apr 10, 2023
@piyushredpanda
Copy link
Contributor

/backport v23.1.x

@c4milo
Copy link
Member

c4milo commented Apr 10, 2023

@emaxerrno, it was done early on by @pvsune but we reverted due to the operator not being able to handle list of strings as value: https://github.com/redpanda-data/redpanda/blob/dev/src/go/k8s/apis/redpanda/v1alpha1/cluster_types.go#LL163C37-L163C44

@dotnwat
Copy link
Member

dotnwat commented Apr 11, 2023

was there an associated issue for this change?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants