Skip to content

fix: Added rbac.create flag check for end-user clusterroles in helm chart#2932

Open
cthtrifork wants to merge 1 commit into
aquasecurity:mainfrom
cthtrifork:feature/rbac-toggle-for-end-user-cluster-roles
Open

fix: Added rbac.create flag check for end-user clusterroles in helm chart#2932
cthtrifork wants to merge 1 commit into
aquasecurity:mainfrom
cthtrifork:feature/rbac-toggle-for-end-user-cluster-roles

Conversation

@cthtrifork
Copy link
Copy Markdown

@cthtrifork cthtrifork commented Mar 20, 2026

Description

I want to install the trivy-operator more than once, as I need them to watch different namespaces with different settings (vex repositories and the like).

However, the operator will try to install non-namespaced items multiple times. This should help fix it, as I will set rbac.create: false on all operators but one and create custom rbac for them.

I believe this is a fix, as rbac.create: false still creates clusterroles today.

Checklist

  • I've read the guidelines for contributing to this repository.
  • I've added tests that prove my fix is effective or that my feature works.
  • I've updated the documentation with the relevant information (if needed).
  • I've added usage information (if the PR introduces new options)
  • I've included a "before" and "after" example to the description (if the PR is a user interface change).

@CLAassistant
Copy link
Copy Markdown

CLAassistant commented Mar 20, 2026

CLA assistant check
All committers have signed the CLA.

@cthtrifork cthtrifork changed the title Added rbac.create flag check for end-user clusterroles in helm chart fix: Added rbac.create flag check for end-user clusterroles in helm chart Mar 20, 2026
@github-actions github-actions Bot added the bug label Mar 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants