Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mismatch between Roles and RoleAssignments when setting internal.autoGenerateCert: false #458

Open
uivraeus opened this issue Nov 14, 2024 · 0 comments

Comments

@uivraeus
Copy link

In core/templates/role.yaml, there is a conditional if .Values.internal.autoGenerateCert around the roles neuvector-binding-lease, neuvector-binding-job-creation and neuvector-binding-cert-upgrader. So, if this boolean is false, then none of those three Roles are included.

The corresponding RoleBindings in core/templates/rolebinding.yaml also includes the conditional if .Values.internal.autoGenerateCert, but only for the neuvector-binding-lease.

Therefore, two RoleBindings (neuvector-binding-job-creation and neuvector-binding-cert-upgrader) are created with references to non-existing Roles.

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

No branches or pull requests

1 participant