Skip to content

Conversation

@maknop
Copy link
Contributor

@maknop maknop commented Aug 28, 2024

In ephemeral environments, when a namespace is cleaned up, the topics operator gets removed before handling cleanup of the topics within the namespace. These topics contain a finalizer on them and are forcing namespaces to get stuck in deleting status.

Per these docs, we need to add the following to the topics operator deployment template to ensure finalizers aren't added to the topics:

spec:
  template:
    spec:
      containers:
        - name: STRIMZI_USE_FINALIZERS
          value: "false"

@maknop maknop force-pushed the update_strimzi_template branch from 56470ce to 1c13452 Compare August 28, 2024 17:49
@maknop maknop requested a review from psav August 28, 2024 18:10
@maknop maknop changed the title remove finalizer on topics in eph feat: remove finalizer on topics in eph Aug 28, 2024
@maknop maknop force-pushed the update_strimzi_template branch from e908608 to b781430 Compare August 28, 2024 19:11
@maknop
Copy link
Contributor Author

maknop commented Aug 28, 2024

/retest

@maknop maknop force-pushed the update_strimzi_template branch from 97546a9 to 2a0f465 Compare August 29, 2024 16:24
@maknop
Copy link
Contributor Author

maknop commented Aug 29, 2024

/retest

@maknop maknop force-pushed the update_strimzi_template branch from ece45d5 to 88d7204 Compare August 29, 2024 18:25
@psav
Copy link
Collaborator

psav commented Aug 29, 2024

I'm happy to approve this but we need to watch it carefully and ensure that the test cluster does the right thing when no config is set, before changing the operation flag.

@psav psav merged commit 8267bf5 into master Aug 30, 2024
@psav psav deleted the update_strimzi_template branch March 24, 2025 11:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants