From cc3287a5208d5a87fb7f3a22608bc6e5e147a58f Mon Sep 17 00:00:00 2001 From: Vishal Choudhary Date: Thu, 31 Oct 2024 12:23:15 +0530 Subject: [PATCH] fix: more bugs Signed-off-by: Vishal Choudhary --- charts/reports-server/values.yaml | 4 ++-- pkg/storage/etcd/new.go | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/charts/reports-server/values.yaml b/charts/reports-server/values.yaml index f61549f..8ebf1fb 100644 --- a/charts/reports-server/values.yaml +++ b/charts/reports-server/values.yaml @@ -60,8 +60,8 @@ podSecurityContext: # @default -- See [values.yaml](values.yaml) securityContext: capabilities: - drop: - - ALL + drop: + - ALL readOnlyRootFilesystem: true runAsNonRoot: true runAsUser: 1000 diff --git a/pkg/storage/etcd/new.go b/pkg/storage/etcd/new.go index ee8b4bd..c6883c5 100644 --- a/pkg/storage/etcd/new.go +++ b/pkg/storage/etcd/new.go @@ -35,7 +35,7 @@ func New(cfg *EtcdConfig) (api.Storage, error) { } if cfg.Insecure { clientCfg.TLS = &tls.Config{ - InsecureSkipVerify: true, + InsecureSkipVerify: true, //nolint:gosec } clientCfg.DialOptions = []grpc.DialOption{grpc.WithTransportCredentials(insecure.NewCredentials())} }