Skip to content

Commit

Permalink
Chart: Allow changing transient storage on STS (#99)
Browse files Browse the repository at this point in the history
The deployment allows changing the transient storage - add same functionality to StatefulSet

https://github.com/mittwald/kube-httpcache/blob/a14f157b3c496ef403a424e457a5060d0b8e5c92/chart/templates/deployment.yaml#L78-L80
  • Loading branch information
LukeHandle committed Sep 7, 2021
1 parent a14f157 commit d34ca55
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions chart/templates/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,9 @@ spec:
- -varnish-secret-file=/etc/varnish/k8s-secret/secret
- -varnish-vcl-template=/etc/varnish/tmpl/default.vcl.tmpl
- -varnish-storage={{ .Values.cache.varnishStorage }},{{ .Values.cache.storageSize }}
{{- if .Values.cache.varnishTransientStorage }}
- -varnish-transient-storage={{ .Values.cache.varnishTransientStorage }},{{ .Values.cache.transientStorageSize }}
{{- end }}
{{- if .Values.cacheExtraArgs }}
{{- with .Values.cacheExtraArgs }}
{{- tpl . $ | trim | nindent 10 }}
Expand Down

0 comments on commit d34ca55

Please sign in to comment.