added config property to set the gateway url

This commit is contained in:
Sebastian Wendel 2022-11-30 10:08:26 +01:00
parent 335b48b7fa
commit 336b592e20
No known key found for this signature in database
GPG key ID: 1422B7DF78144640
2 changed files with 6 additions and 1 deletions

View file

@ -152,7 +152,11 @@ If release name contains chart name it will be used as a full name.
{{- end -}}
{{- define "fcoscore.gateway.url" -}}
{{- printf "http://%s:%s" (include "fcoscore.gateway.host" . ) (include "fcoscore.gateway.port" . ) -}}
{{- if .Values.gateway.url }}
{{- .Values.gateway.url -}}
{{- else -}}
{{- print "gateway.example.org" -}}
{{- end -}}
{{- end -}}
{{/*

View file

@ -279,6 +279,7 @@ gateway:
service:
type: ClusterIP
port: 4040
url: ""
## Persistence Parameters
## ref: https://kubernetes.io/docs/user-guide/persistent-volumes/