mirror of
https://github.com/zoriya/Kyoo.git
synced 2025-12-07 21:55:15 -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 -}}
|
{{- else -}}
|
||||||
{{ default "default" .Values.traefikproxy.serviceAccount.name }}
|
{{ default "default" .Values.traefikproxy.serviceAccount.name }}
|
||||||
{{- end -}}
|
{{- 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 -}}
|
{{- end -}}
|
||||||
@ -57,7 +57,7 @@ spec:
|
|||||||
- name: LIBRARY_IGNORE_PATTERN
|
- name: LIBRARY_IGNORE_PATTERN
|
||||||
value: {{ .Values.kyoo.libraryIgnorePattern | quote }}
|
value: {{ .Values.kyoo.libraryIgnorePattern | quote }}
|
||||||
- name: KYOO_URL
|
- name: KYOO_URL
|
||||||
value: "http://{{ include "kyoo.api.fullname" . }}:3567/api"
|
value: "{{ include "kyoo.middlewareRootURL" . }}/api"
|
||||||
- name: JWKS_URL
|
- name: JWKS_URL
|
||||||
value: "http://{{ include "kyoo.auth.fullname" . }}:4568/.well-known/jwks.json"
|
value: "http://{{ include "kyoo.auth.fullname" . }}:4568/.well-known/jwks.json"
|
||||||
- name: JWT_ISSUER
|
- name: JWT_ISSUER
|
||||||
|
|||||||
@ -79,6 +79,9 @@ global:
|
|||||||
kyoo:
|
kyoo:
|
||||||
# The url you can use to reach your kyoo instance. This is used during oidc to redirect users to your instance.
|
# 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"
|
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
|
# new auth settings
|
||||||
extraClaims: '{"permissions": ["core.read"], "verified": false}'
|
extraClaims: '{"permissions": ["core.read"], "verified": false}'
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user