Skip to content

NVSHAS-10244: Set env var RANCHER_CLUSTER_NAME for Rancher SSO deployment#549

Merged
williamlin-suse merged 1 commit intoneuvector:masterfrom
williamlin-suse:NVSHAS-10244
Mar 13, 2026
Merged

NVSHAS-10244: Set env var RANCHER_CLUSTER_NAME for Rancher SSO deployment#549
williamlin-suse merged 1 commit intoneuvector:masterfrom
williamlin-suse:NVSHAS-10244

Conversation

@williamlin-suse
Copy link
Contributor

@williamlin-suse williamlin-suse commented Mar 13, 2026

Copy link
Contributor

@holyspectral holyspectral left a comment

Choose a reason for hiding this comment

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

We should also update values.yaml and values.schema.json, so global.cattle.clusterName can be supported.

Comment on lines 162 to 164
- name: RANCHER_CLUSTER_NAME
value: "{{ .Values.global.cattle.clusterName }}"
{{- end }}
Copy link
Contributor

Choose a reason for hiding this comment

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

We should keep the RANCHER_CLUSTER_NAME out of the .Values.controller.ranchersso.enabled so if sso is not enabled the envvar would still be set.

Suggested change
- name: RANCHER_CLUSTER_NAME
value: "{{ .Values.global.cattle.clusterName }}"
{{- end }}
{{- end }}
- name: RANCHER_CLUSTER_NAME
value: "{{ .Values.global.cattle.clusterName }}"

Copy link
Contributor

@holyspectral holyspectral left a comment

Choose a reason for hiding this comment

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

LGTM.

@selvamt94 @venkateshjayagopal FYI. let's give it some tests before rancher chart release.

@williamlin-suse williamlin-suse merged commit 5a1935f into neuvector:master Mar 13, 2026
1 check 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.

suppress log in the response rule is not working

2 participants