Skip to content
4 changes: 2 additions & 2 deletions charts/cluster-shield/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ apiVersion: v2
name: cluster-shield
description: Cluster Shield Helm Chart for Kubernetes
type: application
version: 1.20.0
appVersion: 1.20.0
version: 1.21.0
appVersion: 1.21.0

maintainers:
- name: AlbertoBarba
Expand Down
2 changes: 1 addition & 1 deletion charts/node-analyzer/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: node-analyzer
description: Sysdig Node Analyzer
# currently matching Sysdig's appVersion 1.14.34
version: 1.42.3
version: 1.42.4
appVersion: 12.9.2
keywords:
- monitoring
Expand Down
2 changes: 1 addition & 1 deletion charts/node-analyzer/templates/role-node-analyzer.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ metadata:
labels:
{{ include "nodeAnalyzer.labels" . | indent 4 }}
rules:
{{- if and .Values.global.kspm.deploy (eq .Values.nodeAnalyzer.kspmAnalyzer.transportLayer "http") }}
{{- if .Values.global.kspm.deploy }}
- apiGroups: ["", "coordination.k8s.io"]
resources:
- "leases"
Expand Down
21 changes: 2 additions & 19 deletions charts/node-analyzer/tests/role_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,28 +44,13 @@ tests:
- isNullOrEmpty:
path: rules

- it: Should not create rules if transportLayer is not http
- it: Should grant permissions to create lease if kspm is deployed
set:
global:
kspm:
deploy: true
nodeAnalyzer:
deploy: true
kspmAnalyzer:
transportLayer: nats
asserts:
- isNullOrEmpty:
path: rules

- it: Should grant permissions to create lease if transport is http
set:
global:
kspm:
deploy: true
nodeAnalyzer:
deploy: true
kspmAnalyzer:
transportLayer: http
asserts:
- contains:
path: rules
Expand All @@ -75,15 +60,13 @@ tests:
- "leases"
verbs: ["create"]

- it: Should grant all permissions on kspm-analyzer lease if transport is http
- it: Should grant all permissions on kspm-analyzer lease if kspm is deployed
set:
global:
kspm:
deploy: true
nodeAnalyzer:
deploy: true
kspmAnalyzer:
transportLayer: http
asserts:
- contains:
path: rules
Expand Down
6 changes: 3 additions & 3 deletions charts/sysdig-deploy/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: sysdig-deploy
description: A chart with various Sysdig components for Kubernetes
type: application
version: 1.106.1
version: 1.107.0
maintainers:
- name: AlbertoBarba
email: alberto.barba@sysdig.com
Expand Down Expand Up @@ -36,7 +36,7 @@ dependencies:
- name: node-analyzer
# repository: https://charts.sysdig.com
repository: file://../node-analyzer
version: ~1.42.0
version: ~1.42.4
alias: nodeAnalyzer
condition: nodeAnalyzer.enabled
- name: cluster-scanner
Expand All @@ -60,6 +60,6 @@ dependencies:
- name: cluster-shield
# repository: https://charts.sysdig.com
repository: file://../cluster-shield
version: ~1.20.0
version: ~1.21.0
alias: clusterShield
condition: clusterShield.enabled
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,7 @@ global:
kspm:
deploy: true
admissionController:
enabled: true
webhook:
resources:
requests:
cpu: 25m
memory: 200Mi
enabled: false
agent:
resources:
requests:
Expand All @@ -37,6 +32,9 @@ kspmCollector:
cpu: 25m
memory: 200Mi
nodeAnalyzer:
secure:
vulnerabilityManagement:
newEngineOnly: true
nodeAnalyzer:
benchmarkRunner:
deploy: false
Expand Down
Loading