Skip to content

Commit

Permalink
enhancement(ci): support in helm vector-agent to specify command (#7107)
Browse files Browse the repository at this point in the history
* support in helm vector-agent to specify command

Signed-off-by: Martin Levesque <levesque.martin@gmail.com>

* Update helm-snapshots

Signed-off-by: Spencer Gilbert <spencer.gilbert@gmail.com>

* Update kubernetes resources

Signed-off-by: Spencer Gilbert <spencer.gilbert@gmail.com>

Co-authored-by: Spencer Gilbert <spencer.gilbert@gmail.com>
  • Loading branch information
martinlevesque and spencergilbert committed May 12, 2021
1 parent 67c854f commit 230a27e
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 0 deletions.
2 changes: 2 additions & 0 deletions distribution/helm/vector-agent/templates/daemonset.yaml
Expand Up @@ -42,6 +42,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
2 changes: 2 additions & 0 deletions distribution/kubernetes/vector-agent/resources.yaml
Expand Up @@ -146,6 +146,8 @@ spec:
{}
image: "timberio/vector:latest-debian"
imagePullPolicy: "IfNotPresent"
command:
[]
args:
- --config
- /etc/vector/*.toml
Expand Down
2 changes: 2 additions & 0 deletions distribution/kubernetes/vector-all/resources.yaml
Expand Up @@ -255,6 +255,8 @@ spec:
{}
image: "timberio/vector:latest-debian"
imagePullPolicy: "IfNotPresent"
command:
[]
args:
- --config
- /etc/vector/*.toml
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 230a27e

Please sign in to comment.