From c7fe7f4ce5f5e288d85ccb384504ade6c06b8979 Mon Sep 17 00:00:00 2001 From: Volodymyr Stoiko Date: Mon, 15 Jun 2026 22:56:31 +0000 Subject: [PATCH] helm: render AUTH_GROUP_MAPPING in the hub config-map MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The local chart never rendered AUTH_GROUP_MAPPING, so tap.auth.groupMapping was silently dropped — SSO groups and the kubeshark-cli SA fell back to AUTH_DEFAULT_ROLE instead of their mapped roles. --- helm-chart/templates/12-config-map.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/helm-chart/templates/12-config-map.yaml b/helm-chart/templates/12-config-map.yaml index f6f5103da..6e775c223 100644 --- a/helm-chart/templates/12-config-map.yaml +++ b/helm-chart/templates/12-config-map.yaml @@ -33,6 +33,7 @@ data: AUTH_CLI_SERVICE_ACCOUNTS: '{{ if (((.Values.tap).auth).cli).enabled }}{{ .Release.Namespace }}:kubeshark-cli{{ end }}' AUTH_ROLES_CLAIM: '{{ .Values.tap.auth.rolesClaim }}' AUTH_DEFAULT_ROLE: '{{ default "" .Values.tap.auth.defaultRole }}' + AUTH_GROUP_MAPPING: '{{ .Values.tap.auth.groupMapping | default dict | toJson }}' AUTH_OIDC_ISSUER: '{{ default "not set" (((.Values.tap).auth).oidc).issuer }}' AUTH_OIDC_REFRESH_TOKEN_LIFETIME: '{{ default "3960h" (((.Values.tap).auth).oidc).refreshTokenLifetime }}' AUTH_OIDC_STATE_PARAM_EXPIRY: '{{ default "10m" (((.Values.tap).auth).oidc).oauth2StateParamExpiry }}'