Skip to content
This repository has been archived by the owner on Feb 22, 2022. It is now read-only.

[stable/sysdig] cannot set env unless ebpf enabled #21105

Closed
bcg62 opened this issue Feb 27, 2020 · 0 comments · Fixed by #21106
Closed

[stable/sysdig] cannot set env unless ebpf enabled #21105

bcg62 opened this issue Feb 27, 2020 · 0 comments · Fixed by #21106

Comments

@bcg62
Copy link
Contributor

bcg62 commented Feb 27, 2020

Describe the bug

env vars cannot be set unless ebpf.enabled = true

          {{- if .Values.ebpf.enabled }}
          env:
            - name: SYSDIG_BPF_PROBE
              value:
          {{- end }}
          {{- if .Values.proxy.httpProxy }}
            - name: http_proxy
              value: {{ .Values.proxy.httpProxy }}
          {{- end }}

Which chart:
stable/sysdig

What happened:

Values:

proxy:
  httpProxy: http://192.168.1.1:8080

Error: YAML parse error on sysdig/templates/daemonset.yaml: error converting YAML to JSON: yaml: line 40: did not find expected key

What you expected to happen:
Proper install

How to reproduce it (as minimally and precisely as possible):
Set proxy.httpProxy or daemonset.env with ebpf.enabled false

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant