Skip to content

Commit

Permalink
support in helm vector-agent to specify command
Browse files Browse the repository at this point in the history
Signed-off-by: Martin Levesque <levesque.martin@gmail.com>
  • Loading branch information
martinlevesque committed Apr 13, 2021
1 parent e0f58c1 commit 2d49ebd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions distribution/helm/vector-agent/templates/daemonset.yaml
Expand Up @@ -39,6 +39,8 @@ spec:
{{- toYaml .Values.securityContext | nindent 12 }}
image: {{ include "libvector.image" . | quote }}
imagePullPolicy: "{{ .Values.image.pullPolicy }}"
command:
{{- toYaml .Values.command | nindent 12 }}
args:
- --config
- /etc/vector/*.toml
Expand Down
3 changes: 3 additions & 0 deletions distribution/helm/vector-agent/values.yaml
Expand Up @@ -14,6 +14,9 @@ image:
# Image pull secrets to use at the `Pod`s managed by `DaemonSet`.
imagePullSecrets: []

# Command to use at the pods managed by DaemonSet
command: []

# Override the chart name used in templates.
nameOverride: ""
# Override the full chart name (name prefixed with release name) used in
Expand Down

0 comments on commit 2d49ebd

Please sign in to comment.