Skip to content

NVSHAS-10267 to create neuvector-binding-secret-controller always#561

Open
selvamt94 wants to merge 1 commit intoneuvector:masterfrom
selvamt94:master
Open

NVSHAS-10267 to create neuvector-binding-secret-controller always#561
selvamt94 wants to merge 1 commit intoneuvector:masterfrom
selvamt94:master

Conversation

@selvamt94
Copy link
Copy Markdown
Contributor

neuvector-binding-secret-controller role and rolebinding need to be created irrespective autoGenerateCert flag status.

@selvamt94 selvamt94 requested a review from a team as a code owner March 25, 2026 00:59
@selvamt94 selvamt94 requested review from esther-suse, holyspectral and venkateshjayagopal and removed request for esther-suse March 25, 2026 00:59

---

{{- if $oc3 }}
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Is the change in charts/core/templates/rolebinding-least.yaml required?
It looks like originally line 175~202(for neuvector-binding-secret-controller) is already outside of

{{- if .Values.internal.autoGenerateCert }}   ## line 37
....
{{- end }}   ## line 130

(i.e. role/rolebinding neuvector-binding-secret-controller is always created in least-privileged deployment)
Am I wrong?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

My mistake, it is not required. Let me roll back the changes for rolebinding-least.yaml. Thanks for finding it.

Copy link
Copy Markdown
Contributor

@williamlin-suse williamlin-suse left a comment

Choose a reason for hiding this comment

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

LGTM

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