Skip to content

Explicitly list injected-cabundle config map for deletion#150

Merged
mclasmeier merged 1 commit into
mainfrom
mc/injected-cabundle-teardown
May 7, 2026
Merged

Explicitly list injected-cabundle config map for deletion#150
mclasmeier merged 1 commit into
mainfrom
mc/injected-cabundle-teardown

Conversation

@mclasmeier
Copy link
Copy Markdown
Collaborator

@mclasmeier mclasmeier commented May 6, 2026

To mitigate race with CNO. I have observed a failure on my system due to this.
#149

@mclasmeier mclasmeier requested a review from vladbologa May 7, 2026 06:52
Copy link
Copy Markdown
Collaborator

@vladbologa vladbologa left a comment

Choose a reason for hiding this comment

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

I'm thinking that this might still happen:

  1. preventCABundleInjection removes the CNO label
  2. deleteResources deletes everything
  3. The explicit delete in the loop runs (no-op)
  4. CNO recreates the ConfigMap still

But it's fine also to merge and see if the race still happens.

@mclasmeier mclasmeier merged commit cd8a8d5 into main May 7, 2026
7 checks passed
@mclasmeier mclasmeier deleted the mc/injected-cabundle-teardown branch May 18, 2026 11:09
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