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
48ee367d
Commit
48ee367d
authored
Apr 21, 2021
by
Nils Goroll
Committed by
Geoff Simmons
Apr 22, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Support custum volumes/volumeMounts for service containers
parent
125d1847
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
0 deletions
+18
-0
deployment.yaml
charts/viking-service/templates/deployment.yaml
+9
-0
values.yaml
charts/viking-service/values.yaml
+9
-0
No files found.
charts/viking-service/templates/deployment.yaml
View file @
48ee367d
...
...
@@ -131,6 +131,9 @@ spec:
-
name
:
persistent-storage
mountPath
:
"
/run/varnish-home/persistent-storage"
{{
- end
}}
{{
- if .Values.vikingService.varnish.volumeMounts
}}
{{
- toYaml .Values.vikingService.varnish.volumeMounts | nindent 12
}}
{{
- end
}}
securityContext
:
readOnlyRootFilesystem
:
true
resources
:
...
...
@@ -186,6 +189,9 @@ spec:
mountPath
:
"
/run/haproxy"
-
name
:
tmp
mountPath
:
"
/tmp"
{{
- if .Values.vikingService.haproxy.volumeMounts
}}
{{
- toYaml .Values.vikingService.haproxy.volumeMounts | nindent 12
}}
{{
- end
}}
securityContext
:
readOnlyRootFilesystem
:
true
resources
:
...
...
@@ -227,3 +233,6 @@ spec:
-
name
:
tmp
emptyDir
:
medium
:
"
Memory"
{{
- if .Values.vikingService.volumes
}}
{{
- toYaml .Values.vikingService.volumes | nindent 8
}}
{{
- end
}}
\ No newline at end of file
charts/viking-service/values.yaml
View file @
48ee367d
...
...
@@ -28,6 +28,9 @@ vikingService:
# Possible fields as above for liveness probes
readinessProbeConfig
:
{}
# Additional volumeMounts to be added to varnish containers
volumeMounts
:
[]
haproxy
:
image
:
repository
:
registry.gitlab.com/uplex/varnish/k8s-ingress/varnish-ingress/haproxy
...
...
@@ -45,6 +48,9 @@ vikingService:
# Configuration of the haproxy readiness probe, as above for Varnish
readinessProbeConfig
:
{}
# Additional volumeMounts to be added to haproxy containers
volumeMounts
:
[]
# Choose from Deployment or StatefulSet
kind
:
Deployment
...
...
@@ -207,6 +213,9 @@ vikingService:
http
:
"
"
https
:
"
"
# Additional volumes to be added to viking service pods
volumes
:
[]
## Rollback limit
##
revisionHistoryLimit
:
10
...
...
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