diff --git a/charts/ocis/docs/values.adoc.yaml b/charts/ocis/docs/values.adoc.yaml index d962467cb..5efc742ae 100644 --- a/charts/ocis/docs/values.adoc.yaml +++ b/charts/ocis/docs/values.adoc.yaml @@ -1482,6 +1482,8 @@ services: server: "" # -- URL path to load themes from. The theme server will be prepended. Defaults to the ownCloud Web default theme. path: "" + # URI where to redirect the user after a logout was performed. Defaults to the URI of the login page. + postLogoutRedirectURI: "" # -- Persistence settings. # @default -- see detailed persistence configuration options below diff --git a/charts/ocis/templates/web/deployment.yaml b/charts/ocis/templates/web/deployment.yaml index 3173a4ced..680d5fcb9 100644 --- a/charts/ocis/templates/web/deployment.yaml +++ b/charts/ocis/templates/web/deployment.yaml @@ -85,6 +85,11 @@ spec: value: {{ . | quote }} {{- end }} + {{- with .Values.services.web.config.postLogoutRedirectURI }} + - name: WEB_OIDC_POST_LOGOUT_REDIRECT_URI + value: {{ . | quote }} + {{- end }} + - name: WEB_JWT_SECRET valueFrom: secretKeyRef: diff --git a/charts/ocis/values.yaml b/charts/ocis/values.yaml index 47ec49208..56514edd5 100644 --- a/charts/ocis/values.yaml +++ b/charts/ocis/values.yaml @@ -1481,6 +1481,8 @@ services: server: "" # -- URL path to load themes from. The theme server will be prepended. Defaults to the ownCloud Web default theme. path: "" + # URI where to redirect the user after a logout was performed. Defaults to the URI of the login page. + postLogoutRedirectURI: "" # -- Persistence settings. # @default -- see detailed persistence configuration options below