Skip to content

Commit a2681d7

Browse files
authored
Merge pull request #72 from redpanda-data/clean-config
topic: remove cleanup.policy filtering
2 parents 57b8f92 + db1174e commit a2681d7

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

redpanda/resources/topic/resource_topic.go

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -350,10 +350,7 @@ func filterDynamicConfig(configs []*dataplanev1alpha1.Topic_Configuration) []*da
350350
var filtered []*dataplanev1alpha1.Topic_Configuration
351351
for _, cfg := range configs {
352352
if cfg != nil {
353-
// cleanup.policy always report the source as Dynamic even if we are
354-
// using the default. We can't manage this property for now.
355-
// See https://github.com/redpanda-data/redpanda/issues/2225
356-
if cfg.Source == dataplanev1alpha1.ConfigSource_CONFIG_SOURCE_DYNAMIC_TOPIC_CONFIG && cfg.Name != "cleanup.policy" {
353+
if cfg.Source == dataplanev1alpha1.ConfigSource_CONFIG_SOURCE_DYNAMIC_TOPIC_CONFIG {
357354
filtered = append(filtered, cfg)
358355
}
359356
}

0 commit comments

Comments
 (0)