Skip to content

helm: align cilium-tlsinterception-secrets Role/RoleBinding conditionals#44159

Merged
gandro merged 1 commit intocilium:mainfrom
puwun:fix/helm-tlsinterception-role-conditional
Feb 4, 2026
Merged

helm: align cilium-tlsinterception-secrets Role/RoleBinding conditionals#44159
gandro merged 1 commit intocilium:mainfrom
puwun:fix/helm-tlsinterception-role-conditional

Conversation

@puwun
Copy link
Copy Markdown
Contributor

@puwun puwun commented Feb 3, 2026

Fixed conditional mismatch between cilium-tlsinterception-secrets Role and RoleBinding in Helm templates.
The Role incorrectly depended on operator.enabled while the RoleBinding did not, causing RBAC errors when operator.enabled=false.
Both now use consistent agent-based conditionals matching other Role/RoleBinding pairs in the same files.

Fixes: #44053

helm: Fixed RBAC errors with `operator.enabled=false` by aligning cilium-tlsinterception-secrets Role/RoleBinding conditionals

The Role/RoleBinding for cilium-tlsinterception-secrets had mismatched
conditionals, causing the RoleBinding to be created without its Role
when operator.enabled=false.

Align both to use consistent agent-based conditionals.

Fixes: cilium#44053
Signed-off-by: Pavan More <pavansmore05@gmail.com>
@puwun puwun requested a review from a team as a code owner February 3, 2026 20:45
@puwun puwun requested a review from gandro February 3, 2026 20:45
@maintainer-s-little-helper maintainer-s-little-helper bot added the dont-merge/needs-release-note-label The author needs to describe the release impact of these changes. label Feb 3, 2026
@github-actions github-actions bot added the kind/community-contribution This was a contribution made by a community member. label Feb 3, 2026
Copy link
Copy Markdown
Member

@gandro gandro left a comment

Choose a reason for hiding this comment

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

Thanks for the fix!

@gandro gandro added release-note/bug This PR fixes an issue in a previous release of Cilium. needs-backport/1.18 This PR / issue needs backporting to the v1.18 branch needs-backport/1.19 This PR / issue needs backporting to the v1.19 branch labels Feb 4, 2026
@maintainer-s-little-helper maintainer-s-little-helper bot removed dont-merge/needs-release-note-label The author needs to describe the release impact of these changes. labels Feb 4, 2026
@gandro
Copy link
Copy Markdown
Member

gandro commented Feb 4, 2026

/test

@gandro gandro enabled auto-merge February 4, 2026 09:35
@gandro gandro added this pull request to the merge queue Feb 4, 2026
@maintainer-s-little-helper maintainer-s-little-helper bot added the ready-to-merge This PR has passed all tests and received consensus from code owners to merge. label Feb 4, 2026
Merged via the queue into cilium:main with commit b1aa28a Feb 4, 2026
82 checks passed
@Artyop Artyop mentioned this pull request Feb 10, 2026
6 tasks
@Artyop Artyop added backport-pending/1.19 The backport for Cilium 1.19.x for this PR is in progress. and removed needs-backport/1.19 This PR / issue needs backporting to the v1.19 branch labels Feb 10, 2026
@Artyop Artyop mentioned this pull request Feb 10, 2026
2 tasks
@Artyop Artyop added backport-pending/1.18 The backport for Cilium 1.18.x for this PR is in progress. and removed needs-backport/1.18 This PR / issue needs backporting to the v1.18 branch labels Feb 10, 2026
@github-actions github-actions bot added backport-done/1.18 The backport for Cilium 1.18.x for this PR is done. backport-done/1.19 The backport for Cilium 1.19.x for this PR is done. and removed backport-pending/1.18 The backport for Cilium 1.18.x for this PR is in progress. backport-pending/1.19 The backport for Cilium 1.19.x for this PR is in progress. labels Feb 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport-done/1.18 The backport for Cilium 1.18.x for this PR is done. backport-done/1.19 The backport for Cilium 1.19.x for this PR is done. kind/community-contribution This was a contribution made by a community member. ready-to-merge This PR has passed all tests and received consensus from code owners to merge. release-note/bug This PR fixes an issue in a previous release of Cilium.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

cilium-tlsinterception-secrets role binding, has different conditionals from cilium-tlsinterception-secrets role

3 participants