Skip to content

Commit

Permalink
[datadog] trace-agent: now uses cobra so --switch style cli
Browse files Browse the repository at this point in the history
  • Loading branch information
truthbk committed Jul 26, 2023
1 parent 324c08d commit 278e40e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions charts/datadog/templates/_container-trace-agent.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
image: "{{ include "image-path" (dict "root" .Values "image" .Values.agents.image) }}"
imagePullPolicy: {{ .Values.agents.image.pullPolicy }}
{{- if eq .Values.targetSystem "linux" }}
command: ["trace-agent", "-config={{ template "datadog.confPath" . }}/datadog.yaml"]
command: ["trace-agent", "--config={{ template "datadog.confPath" . }}/datadog.yaml"]
{{- end -}}
{{- if eq .Values.targetSystem "windows" }}
command: ["trace-agent", "-foreground", "-config={{ template "datadog.confPath" . }}/datadog.yaml"]
command: ["trace-agent", "--foreground", "--config={{ template "datadog.confPath" . }}/datadog.yaml"]
{{- end -}}
{{ include "generate-security-context" (dict "securityContext" .Values.agents.containers.traceAgent.securityContext "targetSystem" .Values.targetSystem "seccomp" "" "kubeversion" .Capabilities.KubeVersion.Version) | indent 2 }}
resources:
Expand Down

0 comments on commit 278e40e

Please sign in to comment.