Skip to content

Fix RuntimeClass leaks when using Helm value overrides#53

Merged
fidencio merged 2 commits intoconfidential-containers:mainfrom
beraldoleal:disableall-fix
Feb 5, 2026
Merged

Fix RuntimeClass leaks when using Helm value overrides#53
fidencio merged 2 commits intoconfidential-containers:mainfrom
beraldoleal:disableall-fix

Conversation

@beraldoleal
Copy link
Member

The kata-deploy's disableAll option doesn't work with Helm's deep merge: override files were getting shims from both parent and override instead of just the override.

Example: kata-s390x.yaml created 8 RuntimeClasses instead of 4 (leaked x86_64 shims).

Disabling this, while we don't find a better approach.

This reverts commit 5da715f.

disableAll doesn't work correctly with Helm overrides. The option causes
RuntimeClass leaks when using Helm value overrides due to deep merge
behavior. Reverting to explicit shim disables.

Related: confidential-containers#52

Signed-off-by: Beraldo Leal <bleal@redhat.com>
Without the disableAll, we need to disable them explicitly.

Signed-off-by: Beraldo Leal <bleal@redhat.com>
Copy link
Member

@fidencio fidencio left a comment

Choose a reason for hiding this comment

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

lgtm, thanks @beraldoleal!

@fidencio fidencio merged commit 06ae4b7 into confidential-containers:main Feb 5, 2026
169 of 174 checks passed
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