Skip to content

Commit 7a0dcd4

Browse files
wcrumTylerGillson
andauthored
chore: update kubescape version (#248)
* chore: update kubescape version * fix: gosec warning in alertmanager.go Signed-off-by: Tyler Gillson <[email protected]> --------- Signed-off-by: will <[email protected]> Signed-off-by: Tyler Gillson <[email protected]> Co-authored-by: Tyler Gillson <[email protected]>
1 parent 3a4bc6e commit 7a0dcd4

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

chart/validator/values.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -429,7 +429,7 @@ plugins:
429429
- chart:
430430
name: validator-plugin-kubescape
431431
repository: "https://spectrocloud-labs.github.io/validator-plugin-kubescape"
432-
version: v0.0.1
432+
version: v0.0.2
433433
values: |-
434434
controllerManager:
435435
kubeRbacProxy:
@@ -464,7 +464,7 @@ plugins:
464464
- ALL
465465
image:
466466
repository: quay.io/spectrocloud-labs/validator-plugin-kubescape
467-
tag: v0.0.1
467+
tag: v0.0.2
468468
resources:
469469
limits:
470470
cpu: 500m

internal/sinks/alertmanager.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,10 +79,9 @@ func (s *AlertmanagerSink) Configure(c Client, config map[string][]byte) error {
7979
}
8080
caCertPool.AppendCertsFromPEM(caCert)
8181
}
82-
// #nosec G402
8382
c.hclient.Transport = &http.Transport{
8483
TLSClientConfig: &tls.Config{
85-
InsecureSkipVerify: insecureSkipVerify,
84+
InsecureSkipVerify: insecureSkipVerify, // #nosec G402
8685
MinVersion: tls.VersionTLS12,
8786
RootCAs: caCertPool,
8887
},

0 commit comments

Comments
 (0)