mirror of
https://github.com/zoriya/Kyoo.git
synced 2025-12-07 13:45:18 -05:00
allow for specifying middleware proxy root url
This commit is contained in:
parent
a563d8f8ba
commit
cd65632527
@ -126,4 +126,12 @@ Create the name of the traefikproxy service account to use
|
||||
{{- else -}}
|
||||
{{ default "default" .Values.traefikproxy.serviceAccount.name }}
|
||||
{{- end -}}
|
||||
{{- end -}}
|
||||
|
||||
{{/*
|
||||
Create kyoo middlewareproxy rootURL
|
||||
rootURL does not include
|
||||
*/}}
|
||||
{{- define "kyoo.middlewareRootURL" -}}
|
||||
{{ default (printf "http://%s" (include "kyoo.traefikproxy.fullname" .)) .Values.kyoo.middlewareRootURL }}
|
||||
{{- end -}}
|
||||
@ -57,7 +57,7 @@ spec:
|
||||
- name: LIBRARY_IGNORE_PATTERN
|
||||
value: {{ .Values.kyoo.libraryIgnorePattern | quote }}
|
||||
- name: KYOO_URL
|
||||
value: "http://{{ include "kyoo.api.fullname" . }}:3567/api"
|
||||
value: "{{ include "kyoo.middlewareRootURL" . }}/api"
|
||||
- name: JWKS_URL
|
||||
value: "http://{{ include "kyoo.auth.fullname" . }}:4568/.well-known/jwks.json"
|
||||
- name: JWT_ISSUER
|
||||
|
||||
@ -79,6 +79,9 @@ global:
|
||||
kyoo:
|
||||
# The url you can use to reach your kyoo instance. This is used during oidc to redirect users to your instance.
|
||||
address: "https://kyoo.mydomain.com"
|
||||
# base url for accessing kyoo microservices behind middleware proxy
|
||||
# defaults to traefikproxy service unless specified otherwise
|
||||
middlewareRootURL: ~
|
||||
|
||||
# new auth settings
|
||||
extraClaims: '{"permissions": ["core.read"], "verified": false}'
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user