Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
ViralHostRangeDB
Manage
Activity
Members
Plan
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Container Registry
Analyze
Contributor analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
hub
ViralHostRangeDB
Commits
bd4c18ca
Commit
bd4c18ca
authored
6 months ago
by
Bryan BRANCOTTE
Browse files
Options
Downloads
Patches
Plain Diff
allow to override for prod the url
parent
52cbcc09
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
chart/templates/_helpers.tpl
+1
-1
1 addition, 1 deletion
chart/templates/_helpers.tpl
with
1 addition
and
1 deletion
chart/templates/_helpers.tpl
+
1
−
1
View file @
bd4c18ca
...
...
@@ -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
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment