[stable/sysdig] Add configmaps, secrets access and more config settings (#16891)

* [stable/sysdig] Add configmaps, secrets access and more config settings

Signed-off-by: Jorge Salamero Sanz <bencer@cauterized.net>

* [stable/sysdig] Ooops, forget to increase version in Chart.yaml

Signed-off-by: Néstor Salceda <nestor.salceda@sysdig.com>
This commit is contained in:
Jorge Salamero Sanz
2019-09-05 04:47:09 -07:00
committed by Kubernetes Prow Robot
parent 58dd622fd6
commit 9477ef31a0
5 changed files with 47 additions and 1 deletions
+7
View File
@@ -3,6 +3,13 @@
This file documents all notable changes to Sysdig Helm Chart. The release
numbering uses [semantic versioning](http://semver.org).
## v1.4.15
### Minor changes
* Add configmaps and secrets to the resources we can read
* Add support for priorityClassName, httpProxy, timezone and any env variable settings
## v1.4.14
### Minor changes
+1 -1
View File
@@ -1,6 +1,6 @@
apiVersion: v1
name: sysdig
version: 1.4.14
version: 1.4.15
appVersion: 0.92.1
description: Sysdig Monitor and Secure agent
keywords:
+2
View File
@@ -22,6 +22,8 @@ rules:
- resourcequotas
- persistentvolumes
- persistentvolumeclaims
- configmaps
- secrets
verbs:
- get
- list
+23
View File
@@ -17,6 +17,9 @@ spec:
role: monitoring
spec:
serviceAccountName: {{ template "sysdig.serviceAccountName" .}}
{{- if .Values.priorityClassName }}
priorityClassName: "{{ .Values.priorityClassName }}"
{{- end }}
tolerations:
{{ toYaml .Values.tolerations | indent 8 }}
hostNetwork: true
@@ -40,6 +43,26 @@ spec:
- name: SYSDIG_BPF_PROBE
value:
{{- end }}
{{- if .Values.proxy.httpProxy }}
- name: http_proxy
value: {{ .Values.proxy.httpProxy }}
{{- end }}
{{- if .Values.proxy.httpsProxy }}
- name: https_proxy
value: {{ .Values.proxy.httpsProxy }}
{{- end }}
{{- if .Values.proxy.noProxy }}
- name: no_proxy
value: {{ .Values.proxy.noProxy }}
{{- end }}
{{- if .Values.timezone }}
- name: TZ
value: {{ .Values.timezone }}
{{- end }}
{{- range $key, $value := .Values.daemonset.env }}
- name: "{{ $key }}"
value: "{{ $value }}"
{{- end }}
readinessProbe:
exec:
command: [ "test", "-e", "/opt/draios/logs/running" ]
+14
View File
@@ -43,6 +43,20 @@ daemonset:
# You can also customize maxUnavailable, maxSurge or minReadySeconds if you
# need it
type: RollingUpdate
## Extra environment variables that will be pass onto deployment pods
env: {}
# If is behind a proxy you can set the proxy server
proxy:
httpProxy:
httpsProxy:
noProxy:
# Set daemonset timezone
timezone:
# Set daemonset priorityClassName
priorityClassName:
ebpf:
# Enable eBPF support for Sysdig Agent