mirror of
https://gitlab.fabcity.hamburg/software/fab-city-os-core-chart.git
synced 2024-09-20 04:18:52 +02:00
added config property to set the gateway url
This commit is contained in:
parent
335b48b7fa
commit
336b592e20
|
@ -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 -}}
|
||||
|
||||
{{/*
|
||||
|
|
|
@ -279,6 +279,7 @@ gateway:
|
|||
service:
|
||||
type: ClusterIP
|
||||
port: 4040
|
||||
url: ""
|
||||
|
||||
## Persistence Parameters
|
||||
## ref: https://kubernetes.io/docs/user-guide/persistent-volumes/
|
||||
|
|
Loading…
Reference in a new issue