Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add web url config options #340

Merged
merged 4 commits into from
Jul 19, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions charts/ocis/docs/values.adoc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1515,6 +1515,12 @@ services:
path: ""
# URI where to redirect the user after a logout was performed. Defaults to the URI of the login page.
postLogoutRedirectURI: ""
# Specifies the target url valid for the logged out / access denied page.
accessDeniedHelpURL: ""
# Specifies the target url for the imprint link in the account menu.
imprintURL:
# Specifies the target url for the privacy link in the account menu.
privacyURL:

# -- Persistence settings.
# @default -- see detailed persistence configuration options below
Expand Down
15 changes: 15 additions & 0 deletions charts/ocis/templates/web/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,21 @@ spec:
value: {{ . | quote }}
{{- end }}

{{- with .Values.services.web.config.accessDeniedHelpURL }}
- name: WEB_OPTION_ACCESS_DENIED_HELP_URL
value: {{ . | quote }}
{{- end }}

{{- with .Values.services.web.config.imprintURL }}
- name: WEB_OPTION_IMPRINT_URL
value: {{ . | quote }}
{{- end }}

{{- with .Values.services.web.config.privacyURL }}
- name: WEB_OPTION_PRIVACY_URL
value: {{ . | quote }}
{{- end }}

- name: WEB_JWT_SECRET
valueFrom:
secretKeyRef:
Expand Down
6 changes: 6 additions & 0 deletions charts/ocis/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1514,6 +1514,12 @@ services:
path: ""
# URI where to redirect the user after a logout was performed. Defaults to the URI of the login page.
postLogoutRedirectURI: ""
# Specifies the target url valid for the logged out / access denied page.
accessDeniedHelpURL: ""
# Specifies the target url for the imprint link in the account menu.
imprintURL:
# Specifies the target url for the privacy link in the account menu.
privacyURL:

# -- Persistence settings.
# @default -- see detailed persistence configuration options below
Expand Down