Skip to content

Commit

Permalink
[stable/sysdig] fix setting env vars (helm#21106)
Browse files Browse the repository at this point in the history
Signed-off-by: Brendan Germain <brendan.germain@nasdaq.com>
  • Loading branch information
Brendan Germain committed Feb 27, 2020
1 parent 357b28a commit c01b369
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion stable/sysdig/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v1
name: sysdig
version: 1.7.2
version: 1.7.3
appVersion: 9.5.0
description: Sysdig Monitor and Secure agent
keywords:
Expand Down
24 changes: 12 additions & 12 deletions stable/sysdig/templates/daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -71,31 +71,31 @@ spec:
{{ toYaml .Values.resources | indent 12 }}
securityContext:
privileged: true
{{- if .Values.ebpf.enabled }}
env:
{{- if .Values.ebpf.enabled }}
- name: SYSDIG_BPF_PROBE
value:
{{- end }}
{{- if .Values.proxy.httpProxy }}
{{- end }}
{{- if .Values.proxy.httpProxy }}
- name: http_proxy
value: {{ .Values.proxy.httpProxy }}
{{- end }}
{{- if .Values.proxy.httpsProxy }}
{{- end }}
{{- if .Values.proxy.httpsProxy }}
- name: https_proxy
value: {{ .Values.proxy.httpsProxy }}
{{- end }}
{{- if .Values.proxy.noProxy }}
{{- end }}
{{- if .Values.proxy.noProxy }}
- name: no_proxy
value: {{ .Values.proxy.noProxy }}
{{- end }}
{{- if .Values.timezone }}
{{- end }}
{{- if .Values.timezone }}
- name: TZ
value: {{ .Values.timezone }}
{{- end }}
{{- range $key, $value := .Values.daemonset.env }}
{{- end }}
{{- range $key, $value := .Values.daemonset.env }}
- name: "{{ $key }}"
value: "{{ $value }}"
{{- end }}
{{- end }}
readinessProbe:
exec:
command: [ "test", "-e", "/opt/draios/logs/running" ]
Expand Down
2 changes: 1 addition & 1 deletion stable/sysdig/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ sysdig:
# Required: You need your Sysdig Monitor access key before running agents.
accessKey: ""

settings:
settings: {}
### Agent tags
# tags: linux:ubuntu,dept:dev,local:nyc
#### Sysdig Software related config ####
Expand Down

0 comments on commit c01b369

Please sign in to comment.