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
aad08080
Commit
aad08080
authored
Aug 28, 2020
by
Geoff Simmons
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
viking-test-app supports BackendConfig.
parent
a6a14458
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
21 additions
and
0 deletions
+21
-0
backendconfig.yaml
charts/viking-test-app/templates/backendconfig.yaml
+18
-0
values.yaml
charts/viking-test-app/values.yaml
+3
-0
No files found.
charts/viking-test-app/templates/backendconfig.yaml
0 → 100644
View file @
aad08080
{{
- range $name
,
$app
:
= .Values.apps -
}}
{{
- if $app.config -
}}
apiVersion
:
"
ingress.varnish-cache.org/v1alpha1"
kind
:
BackendConfig
metadata
:
name
:
{{
$name
}}
-svc-cfg
labels
:
app.kubernetes.io/name
:
{{
$name
}}
-svc-cfg
app.kubernetes.io/component
:
ingressBackendConfig
{{
- include "viking-ingress.labels" $ | nindent 4
}}
spec
:
services
:
-
{{
$name
}}
-svc
{{
toYaml $app.config | nindent 2
}}
---
{{
- end -
}}
{{
- end -
}}
charts/viking-test-app/values.yaml
View file @
aad08080
...
...
@@ -13,6 +13,9 @@ apps: {}
# servicePort: 80
# targetPort: 80
# If non-empty, contains a BackendConfig for this app.
# config: {}
ingress
:
# Must match the Ingress class observed by the controller.
class
:
"
varnish"
...
...
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