Skip to content

Commit

Permalink
chore: update kubescape version (#248)
Browse files Browse the repository at this point in the history
* chore: update kubescape version

* fix: gosec warning in alertmanager.go

Signed-off-by: Tyler Gillson <tyler.gillson@gmail.com>

---------

Signed-off-by: will <30413278+wcrum@users.noreply.github.com>
Signed-off-by: Tyler Gillson <tyler.gillson@gmail.com>
Co-authored-by: Tyler Gillson <tyler.gillson@gmail.com>
  • Loading branch information
wcrum and TylerGillson authored May 14, 2024
1 parent 3a4bc6e commit 7a0dcd4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions chart/validator/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -429,7 +429,7 @@ plugins:
- chart:
name: validator-plugin-kubescape
repository: "https://spectrocloud-labs.github.io/validator-plugin-kubescape"
version: v0.0.1
version: v0.0.2
values: |-
controllerManager:
kubeRbacProxy:
Expand Down Expand Up @@ -464,7 +464,7 @@ plugins:
- ALL
image:
repository: quay.io/spectrocloud-labs/validator-plugin-kubescape
tag: v0.0.1
tag: v0.0.2
resources:
limits:
cpu: 500m
Expand Down
3 changes: 1 addition & 2 deletions internal/sinks/alertmanager.go
Original file line number Diff line number Diff line change
Expand Up @@ -79,10 +79,9 @@ func (s *AlertmanagerSink) Configure(c Client, config map[string][]byte) error {
}
caCertPool.AppendCertsFromPEM(caCert)
}
// #nosec G402
c.hclient.Transport = &http.Transport{
TLSClientConfig: &tls.Config{
InsecureSkipVerify: insecureSkipVerify,
InsecureSkipVerify: insecureSkipVerify, // #nosec G402
MinVersion: tls.VersionTLS12,
RootCAs: caCertPool,
},
Expand Down

0 comments on commit 7a0dcd4

Please sign in to comment.