Skip to content

Commit

Permalink
[stable/sysdig] Use stable API and fix configmap issues (helm#21500)
Browse files Browse the repository at this point in the history
Signed-off-by: Néstor Salceda <nestor.salceda@sysdig.com>
  • Loading branch information
Néstor Salceda authored Mar 17, 2020
1 parent c0f487e commit 0322682
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 8 deletions.
7 changes: 7 additions & 0 deletions stable/sysdig/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,13 @@
This file documents all notable changes to Sysdig Helm Chart. The release
numbering uses [semantic versioning](http://semver.org).

## v1.7.6

### Minor changes

* Use rbac.authorization.k8s.io/v1 instead of the beta1 API.
* Fix security key duplication when enabling secure and auditLog.

## v1.7.5

### Minor changes
Expand Down
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.5
version: 1.7.6
appVersion: 9.7.0
description: Sysdig Monitor and Secure agent
keywords:
Expand Down
2 changes: 1 addition & 1 deletion stable/sysdig/templates/clusterrole.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{{- if .Values.rbac.create }}
kind: ClusterRole
apiVersion: rbac.authorization.k8s.io/v1beta1
apiVersion: rbac.authorization.k8s.io/v1
metadata:
name: {{ template "sysdig.fullname" .}}
labels:
Expand Down
2 changes: 1 addition & 1 deletion stable/sysdig/templates/clusterrolebinding.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{{- if .Values.rbac.create }}
kind: ClusterRoleBinding
apiVersion: rbac.authorization.k8s.io/v1beta1
apiVersion: rbac.authorization.k8s.io/v1
metadata:
name: {{ template "sysdig.fullname" .}}
labels:
Expand Down
11 changes: 6 additions & 5 deletions stable/sysdig/templates/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,19 @@ metadata:
data:
dragent.yaml: |
new_k8s: true
{{- if .Values.secure.enabled }}
{{- if or .Values.secure.enabled .Values.auditLog.enabled }}
security:
{{- if .Values.auditLog.enabled }}
k8s_audit_server_url: {{ .Values.auditLog.auditServerUrl }}
k8s_audit_server_port: {{ .Values.auditLog.auditServerPort }}
{{- end }}
{{- if .Values.secure.enabled }}
enabled: true
commandlines_capture:
enabled: true
memdump:
enabled: true
{{- end }}
{{- if .Values.auditLog.enabled }}
security:
k8s_audit_server_url: {{ .Values.auditLog.auditServerUrl }}
k8s_audit_server_port: {{ .Values.auditLog.auditServerPort }}
{{- end }}
{{- if .Values.sysdig.settings }}
{{ toYaml .Values.sysdig.settings | indent 4 }}
Expand Down

0 comments on commit 0322682

Please sign in to comment.