Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions varnish-cache/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -608,6 +608,20 @@ server:
key: varnish-secret
```

**server.command**

- Type: array of strings
- Default: `[]`

Sets the command executable to use. If provided, the default executable path will be overridden. See also `server.args`.

**server.args**

- Type: array of strings
- Required: no

Sets the command arguments to use. If not set, the generated command arguments will be used. To prevent any generated arguments from being passed, set `server.args` to `[]`.

**server.vclConfig**

- Type: template string
Expand Down
5 changes: 5 additions & 0 deletions varnish-cache/templates/_pod.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -257,6 +257,11 @@ Declares the Varnish Cache container
{{- toYaml .Values.server.command | nindent 4 }}
{{- else }}
- /usr/sbin/varnishd
{{- end }}
args:
{{- if hasKey .Values.server "args" }}
{{- toYaml .Values.server.args | nindent 4 }}
{{- else }}
- -F
{{- if .Values.server.http.enabled }}
- -a
Expand Down
Loading