-
Notifications
You must be signed in to change notification settings - Fork 127
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
21 changed files
with
93 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
charts/node-analyzer/templates/runtimeScanner/eveconnector-api-configmap.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
charts/node-analyzer/templates/runtimeScanner/eveconnector-api-deployment.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
charts/node-analyzer/templates/runtimeScanner/eveconnector-api-service.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
charts/node-analyzer/templates/runtimeScanner/runtime-scanner-configmap.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
charts/node-analyzer/templates/runtimeScanner/sysdig-eve-secret.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
# requires unittest plugin: https://github.com/quintush/helm-unittest | ||
# Run "helm unittest -3 -f ./tests/hostscanner_test.yaml ." from within the `charts/node-analyzer` folder | ||
suite: Test Node Analyzer configuration when global.GKE.autopilot set to true | ||
templates: | ||
- ../templates/daemonset-node-analyzer.yaml | ||
|
||
tests: | ||
- it: "HS is deployed if newEngineOnly is active but deploy unset" | ||
set: | ||
clusterName: "test" | ||
secure.vulnerabilityManagement.newEngineOnly: true | ||
global.gke.autopilot: true | ||
asserts: | ||
- isKind: | ||
of: DaemonSet | ||
- equal: | ||
path: "spec.template.spec.containers[0].name" | ||
value: "sysdig-host-scanner" | ||
- lengthEqual: | ||
path: spec.template.spec.containers | ||
count: 1 | ||
- it: "HS is deployed if newEngineOnly is true and deploy set to true" | ||
set: | ||
clusterName: "test" | ||
secure.vulnerabilityManagement.newEngineOnly: true | ||
nodeAnalyzer.hostScanner.deploy: true | ||
global.gke.autopilot: true | ||
asserts: | ||
- isKind: | ||
of: DaemonSet | ||
- equal: | ||
path: "spec.template.spec.containers[0].name" | ||
value: "sysdig-host-scanner" | ||
- lengthEqual: | ||
path: spec.template.spec.containers | ||
count: 1 | ||
- it: "HS is deployed if newEngineOnly is unset and deploy set to true" | ||
set: | ||
clusterName: "test" | ||
nodeAnalyzer.hostScanner.deploy: true | ||
global.gke.autopilot: true | ||
asserts: | ||
- isKind: | ||
of: DaemonSet | ||
- equal: | ||
path: "spec.template.spec.containers[0].name" | ||
value: "sysdig-host-scanner" | ||
- lengthEqual: | ||
path: spec.template.spec.containers | ||
count: 1 | ||
- it: "HS and KSPM Analyzer are deployed if newEngineOnly is active and global.kspm.deploy set to true" | ||
set: | ||
clusterName: "test" | ||
secure.vulnerabilityManagement.newEngineOnly: true | ||
global.gke.autopilot: true | ||
global.kspm.deploy: true | ||
asserts: | ||
- isKind: | ||
of: DaemonSet | ||
- equal: | ||
path: "spec.template.spec.containers[0].name" | ||
value: "sysdig-kspm-analyzer" | ||
- equal: | ||
path: "spec.template.spec.containers[1].name" | ||
value: "sysdig-host-scanner" | ||
- lengthEqual: | ||
path: spec.template.spec.containers | ||
count: 2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ apiVersion: v2 | |
name: sysdig-deploy | ||
description: A chart with various Sysdig components for Kubernetes | ||
type: application | ||
version: 1.24.0 | ||
version: 1.25.0 | ||
maintainers: | ||
- name: AlbertoBarba | ||
email: [email protected] | ||
|