Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
k8s-ingress
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
3
Merge Requests
3
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
uplex-varnish
k8s-ingress
Commits
497b4472
Commit
497b4472
authored
Aug 26, 2020
by
Geoff Simmons
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
viking-test-app Chart supports an Ingress default backend.
parent
c7b12f26
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
ingress.yaml
charts/viking-test-app/templates/ingress.yaml
+7
-0
No files found.
charts/viking-test-app/templates/ingress.yaml
View file @
497b4472
...
...
@@ -21,6 +21,12 @@ spec:
-
secretName
:
{{
$secret.name
}}
{{
- end
}}
{{
- end
}}
{{
- if .Values.defaultApp
}}
backend
:
serviceName
:
{{
.Values.defaultApp.app
}}
-svc
servicePort
:
{{
default "80" .Values.defaultApp.servicePort
}}
{{
- end
}}
{{
- if .Values.ingress.rules
}}
rules
:
{{
- range $rule
:
= .Values.ingress.rules
}}
-
host
:
{{
$rule.host
}}
...
...
@@ -33,3 +39,4 @@ spec:
servicePort
:
{{
default "80" $path.servicePort
}}
{{
- end
}}
{{
- end
}}
{{
- end
}}
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