From e3fb0cc8882dfba97ada88bd652aaadffc173769 Mon Sep 17 00:00:00 2001 From: Trong Huu Nguyen Date: Fri, 17 Jan 2025 10:25:44 +0100 Subject: [PATCH] chart: remove obsolete session refresh flags --- charts/wonderwall/templates/fa-secret.yaml | 2 -- charts/wonderwall/templates/idporten-secret.yaml | 2 -- charts/wonderwall/templates/replicationconfig.yaml | 3 --- charts/wonderwall/values.yaml | 2 -- 4 files changed, 9 deletions(-) diff --git a/charts/wonderwall/templates/fa-secret.yaml b/charts/wonderwall/templates/fa-secret.yaml index db45bf2..107a26e 100644 --- a/charts/wonderwall/templates/fa-secret.yaml +++ b/charts/wonderwall/templates/fa-secret.yaml @@ -19,8 +19,6 @@ stringData: WONDERWALL_REDIS_CONNECTION_IDLE_TIMEOUT: "{{ .Values.redis.connectionIdleTimeout }}" WONDERWALL_ENCRYPTION_KEY: "{{ .Values.azure.forwardAuth.sessionCookieEncryptionKey | required ".Values.azure.forwardAuth.sessionCookieEncryptionKey is required." }}" WONDERWALL_SESSION_MAX_LIFETIME: "{{ .Values.azure.sessionMaxLifetime | required ".Values.azure.forwardAuth.sessionMaxLifetime is required." }}" - WONDERWALL_SESSION_REFRESH: "false" - WONDERWALL_SESSION_REFRESH_AUTO: "false" WONDERWALL_SSO_DOMAIN: "{{ .Values.azure.forwardAuth.ssoDomain | required ".Values.azure.forwardAuth.ssoDomain is required." }}" WONDERWALL_SSO_ENABLED: "true" WONDERWALL_SSO_MODE: "server" diff --git a/charts/wonderwall/templates/idporten-secret.yaml b/charts/wonderwall/templates/idporten-secret.yaml index d374411..211f849 100644 --- a/charts/wonderwall/templates/idporten-secret.yaml +++ b/charts/wonderwall/templates/idporten-secret.yaml @@ -25,8 +25,6 @@ stringData: WONDERWALL_SESSION_INACTIVITY: "{{ .Values.idporten.sessionInactivity | required ".Values.idporten.sessionInactivity is required." }}" WONDERWALL_SESSION_INACTIVITY_TIMEOUT: "{{ .Values.idporten.sessionInactivityTimeout | required ".Values.idporten.sessionInactivityTimeout is required." }}" WONDERWALL_SESSION_MAX_LIFETIME: "{{ .Values.idporten.sessionMaxLifetime | required ".Values.idporten.sessionMaxLifetime is required." }}" - WONDERWALL_SESSION_REFRESH: "{{ .Values.idporten.sessionRefresh | required ".Values.idporten.sessionRefresh is required." }}" - WONDERWALL_SESSION_REFRESH_AUTO: "false" WONDERWALL_SSO_DOMAIN: "{{ .Values.idporten.ssoDomain | required ".Values.idporten.ssoDomain is required." }}" WONDERWALL_SSO_ENABLED: "true" WONDERWALL_SSO_MODE: "server" diff --git a/charts/wonderwall/templates/replicationconfig.yaml b/charts/wonderwall/templates/replicationconfig.yaml index cfd15fd..4ddbcd8 100644 --- a/charts/wonderwall/templates/replicationconfig.yaml +++ b/charts/wonderwall/templates/replicationconfig.yaml @@ -31,8 +31,6 @@ spec: WONDERWALL_REDIS_URI: "[[ .Values.REDIS_URI_WONDERWALL_AZURE ]]" WONDERWALL_REDIS_USERNAME: "[[ .Values.REDIS_USERNAME_WONDERWALL_AZURE ]]" WONDERWALL_REDIS_PASSWORD: "[[ .Values.REDIS_PASSWORD_WONDERWALL_AZURE ]]" - WONDERWALL_SESSION_REFRESH: "{{ .Values.azure.sessionRefresh }}" - WONDERWALL_SESSION_REFRESH_AUTO: "{{ .Values.azure.sessionRefresh }}" WONDERWALL_SESSION_MAX_LIFETIME: "{{ .Values.azure.sessionMaxLifetime }}" {{- end }} {{- if .Values.idporten.enabled }} @@ -71,7 +69,6 @@ spec: WONDERWALL_REDIS_URI: "[[ .Values.REDIS_URI_WONDERWALL_IDPORTEN ]]" WONDERWALL_REDIS_USERNAME: "[[ .Values.REDIS_USERNAME_WONDERWALL_IDPORTEN ]]" WONDERWALL_REDIS_PASSWORD: "[[ .Values.REDIS_PASSWORD_WONDERWALL_IDPORTEN ]]" - WONDERWALL_SESSION_REFRESH_AUTO: "false" WONDERWALL_SSO_ENABLED: "true" WONDERWALL_SSO_MODE: "proxy" WONDERWALL_SSO_SESSION_COOKIE_NAME: "{{ .Values.idporten.sessionCookieName | required ".Values.idporten.sessionCookieName is required." }}" diff --git a/charts/wonderwall/values.yaml b/charts/wonderwall/values.yaml index 979ba60..60937c3 100644 --- a/charts/wonderwall/values.yaml +++ b/charts/wonderwall/values.yaml @@ -14,7 +14,6 @@ azure: enabled: false redisSecretName: wonderwall-azure-redis-rw sessionMaxLifetime: 10h - sessionRefresh: true forwardAuth: enabled: false replicasMin: 2 @@ -49,7 +48,6 @@ idporten: sessionCookieEncryptionKey: sessionInactivity: true sessionInactivityTimeout: 1h - sessionRefresh: true sessionMaxLifetime: 6h ssoServerHost: # secret for configuring Wonderwall server itself