-
Notifications
You must be signed in to change notification settings - Fork 128
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(node-analyzer,sysdig-deploy): Ability to disable sslVerifyCertifi…
…cate per container on node-analyzer (#1445) Signed-off-by: Daniele De Lorenzi <[email protected]> Co-authored-by: Marco Vito Moscaritolo <[email protected]>
- Loading branch information
Showing
16 changed files
with
1,093 additions
and
21 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
Large diffs are not rendered by default.
Oops, something went wrong.
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
182 changes: 182 additions & 0 deletions
182
charts/node-analyzer/tests/cert_validation_benchmarkrunner_test.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,182 @@ | ||
suite: Benchmark Runner Skip certificate tests | ||
templates: | ||
- templates/configmap-benchmark-runner.yaml | ||
tests: | ||
- it: "Global SSL certificate validation enabled (default value)" | ||
set: | ||
clusterName: "test" | ||
nodeAnalyzer: | ||
deploy: true | ||
templates: | ||
- templates/configmap-benchmark-runner.yaml | ||
asserts: | ||
- equal: | ||
path: data.ssl_verify_certificate | ||
value: "true" | ||
|
||
- it: "Global SSL certificate validation enabled (sslVerifyCertificate: true explicitly set)" | ||
set: | ||
clusterName: "test" | ||
global: | ||
sslVerifyCertificate: true | ||
nodeAnalyzer: | ||
deploy: true | ||
templates: | ||
- templates/configmap-benchmark-runner.yaml | ||
asserts: | ||
- equal: | ||
path: data.ssl_verify_certificate | ||
value: "true" | ||
|
||
- it: "Global SSL certificate validation disabled" | ||
set: | ||
clusterName: "test" | ||
global: | ||
sslVerifyCertificate: false | ||
nodeAnalyzer: | ||
deploy: true | ||
templates: | ||
- templates/configmap-benchmark-runner.yaml | ||
asserts: | ||
- equal: | ||
path: data.ssl_verify_certificate | ||
value: "false" | ||
|
||
- it: "SSL certificate validation enabled (sslVerifyCertificate: true explicitly set) [Node Analyzer POD]" | ||
set: | ||
clusterName: "test" | ||
nodeAnalyzer: | ||
deploy: true | ||
sslVerifyCertificate: true | ||
templates: | ||
- templates/configmap-benchmark-runner.yaml | ||
asserts: | ||
- equal: | ||
path: data.ssl_verify_certificate | ||
value: "true" | ||
|
||
- it: "SSL certificate validation disabled [Node Analyzer POD]" | ||
set: | ||
clusterName: "test" | ||
nodeAnalyzer: | ||
deploy: true | ||
sslVerifyCertificate: false | ||
templates: | ||
- templates/configmap-benchmark-runner.yaml | ||
asserts: | ||
- equal: | ||
path: data.ssl_verify_certificate | ||
value: "false" | ||
|
||
- it: "SSL certificate validation enabled (sslVerifyCertificate: true explicitly set) [benchmarkRunner container]" | ||
set: | ||
clusterName: "test" | ||
nodeAnalyzer: | ||
deploy: true | ||
benchmarkRunner: | ||
sslVerifyCertificate: true | ||
templates: | ||
- templates/configmap-benchmark-runner.yaml | ||
asserts: | ||
- equal: | ||
path: data.ssl_verify_certificate | ||
value: "true" | ||
|
||
- it: "SSL certificate validation disabled [benchmarkRunner container]" | ||
set: | ||
clusterName: "test" | ||
nodeAnalyzer: | ||
deploy: true | ||
benchmarkRunner: | ||
sslVerifyCertificate: false | ||
templates: | ||
- templates/configmap-benchmark-runner.yaml | ||
asserts: | ||
- equal: | ||
path: data.ssl_verify_certificate | ||
value: "false" | ||
|
||
- it: "SSL certificate validation disabled [Global + Node Analyzer POD]" | ||
set: | ||
global: | ||
sslVerifyCertificate: true | ||
clusterName: "test" | ||
nodeAnalyzer: | ||
deploy: true | ||
sslVerifyCertificate: false | ||
benchmarkRunner: | ||
deploy: true | ||
templates: | ||
- templates/configmap-benchmark-runner.yaml | ||
asserts: | ||
- equal: | ||
path: data.ssl_verify_certificate | ||
value: "false" | ||
|
||
- it: "SSL certificate validation disabled [Node Analyzer POD + Container]" | ||
set: | ||
clusterName: "test" | ||
nodeAnalyzer: | ||
deploy: true | ||
sslVerifyCertificate: true | ||
benchmarkRunner: | ||
deploy: true | ||
sslVerifyCertificate: false | ||
templates: | ||
- templates/configmap-benchmark-runner.yaml | ||
asserts: | ||
- equal: | ||
path: data.ssl_verify_certificate | ||
value: "false" | ||
|
||
- it: "SSL certificate validation enabled [Node Analyzer POD + Container]" | ||
set: | ||
clusterName: "test" | ||
nodeAnalyzer: | ||
deploy: true | ||
sslVerifyCertificate: false | ||
benchmarkRunner: | ||
deploy: true | ||
sslVerifyCertificate: true | ||
templates: | ||
- templates/configmap-benchmark-runner.yaml | ||
asserts: | ||
- equal: | ||
path: data.ssl_verify_certificate | ||
value: "true" | ||
|
||
- it: "SSL certificate validation disabled [Global + Node Analyzer POD + Container]" | ||
set: | ||
global: | ||
sslVerifyCertificate: true | ||
clusterName: "test" | ||
nodeAnalyzer: | ||
deploy: true | ||
sslVerifyCertificate: true | ||
benchmarkRunner: | ||
deploy: true | ||
sslVerifyCertificate: false | ||
templates: | ||
- templates/configmap-benchmark-runner.yaml | ||
asserts: | ||
- equal: | ||
path: data.ssl_verify_certificate | ||
value: "false" | ||
|
||
- it: "SSL certificate validation enabled [Global + Node Analyzer POD + Container]" | ||
set: | ||
global: | ||
sslVerifyCertificate: false | ||
clusterName: "test" | ||
nodeAnalyzer: | ||
deploy: true | ||
sslVerifyCertificate: false | ||
benchmarkRunner: | ||
deploy: true | ||
sslVerifyCertificate: true | ||
templates: | ||
- templates/configmap-benchmark-runner.yaml | ||
asserts: | ||
- equal: | ||
path: data.ssl_verify_certificate | ||
value: "true" |
Oops, something went wrong.