Skip to content
Snippets Groups Projects
Commit bd4c18ca authored by Bryan  BRANCOTTE's avatar Bryan BRANCOTTE
Browse files

allow to override for prod the url

parent 52cbcc09
No related branches found
No related tags found
No related merge requests found
......@@ -67,7 +67,7 @@ Create chart name and version as used by the chart label.
*/}}
{{- define "chart.url" -}}
{{- if $.Values.isProd }}
{{- printf "viralhostrangedb.pasteur.cloud" }}
{{- default $.Values.url "viralhostrangedb.pasteur.cloud" }}
{{- else }}
{{- printf "%s.dev.pasteur.cloud" (printf "%s-%s" $.Chart.Name $.Release.Name | trunc 63 | trimSuffix "-") }}{{ end}}
{{- end }}
\ No newline at end of file
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment