Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
open-source
MetaGer
Commits
e339e107
Commit
e339e107
authored
Feb 05, 2020
by
Dominik Hebeler
Browse files
removed wrong whitespace
parent
bbb1c76b
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
chart/templates/ingress-redirects.yaml
View file @
e339e107
...
...
@@ -8,7 +8,7 @@ metadata:
app
:
{{
template "appname" .
}}
chart
:
"
{{
.Chart.Name
-}}-{{-
.Chart.Version|
replace
"+" "_" }}"
release
:
{{
.Release.Name
}}
heritage
:
{{
.Release.Service
}}
heritage
:
{{
.Release.Service
}}
annotations
:
ingress.kubernetes.io/configuration-snippet
:
"
return
301
$scheme://{{
template
"hostname" .Values.service.url }}$request_uri;"
spec
:
...
...
@@ -20,7 +20,7 @@ spec:
{{
- end
}}
secretName
:
{{
.Values.ingress.tls.secretName | default (printf "%s-redirects-tls" (include "fullname" .))
}}
{{
- end
}}
rules
:
rules
:
{{
- $dot
:
= .
}}
{{
- $values
:
= .Values
}}
{{
- range $host
:
= .Values.service.redirectHosts
}}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment