From befb332e9f19ea726289e994beafc8ff8349afee Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 18 Sep 2024 16:12:42 +0000 Subject: [PATCH 1/2] fix(deps): update github.com/kubewarden/kubewarden-controller digest to 8237b77 --- go.mod | 2 +- go.sum | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/go.mod b/go.mod index 68d0db8a..4f4d684b 100644 --- a/go.mod +++ b/go.mod @@ -4,7 +4,7 @@ go 1.23.0 require ( github.com/google/uuid v1.6.0 - github.com/kubewarden/kubewarden-controller v1.17.0-rc2.0.20240917061215-5c7cf92af031 + github.com/kubewarden/kubewarden-controller v1.17.0-rc2.0.20240918153524-8237b777bc70 github.com/rs/zerolog v1.33.0 github.com/spf13/cobra v1.8.1 github.com/stretchr/testify v1.9.0 diff --git a/go.sum b/go.sum index 3a723a63..0c2d0fd2 100644 --- a/go.sum +++ b/go.sum @@ -310,6 +310,8 @@ github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY= github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE= github.com/kubewarden/kubewarden-controller v1.17.0-rc2.0.20240917061215-5c7cf92af031 h1:mnHzr+IJMhTUdMGM/LpYRf1njOLHmjYUffWQ+O6+Bpc= github.com/kubewarden/kubewarden-controller v1.17.0-rc2.0.20240917061215-5c7cf92af031/go.mod h1:A5wSmXoDqKfvVgZ5haXzR+0RJTI1bMDPywOwPx2gPEE= +github.com/kubewarden/kubewarden-controller v1.17.0-rc2.0.20240918153524-8237b777bc70 h1:sd13AoLHfW4oz4jbGHd6xIuYA6my2YhtJGOL4yoF0pM= +github.com/kubewarden/kubewarden-controller v1.17.0-rc2.0.20240918153524-8237b777bc70/go.mod h1:A5wSmXoDqKfvVgZ5haXzR+0RJTI1bMDPywOwPx2gPEE= github.com/magiconair/properties v1.8.0/go.mod h1:PppfXfuXeibc/6YijjN8zIbojt8czPbwD3XqdrwzmxQ= github.com/mailru/easyjson v0.0.0-20160728113105-d5b7844b561a/go.mod h1:C1wdFJiN94OJF2b5HbByQZoLdCWB1Yqtg26g4irojpc= github.com/mailru/easyjson v0.0.0-20180823135443-60711f1a8329/go.mod h1:C1wdFJiN94OJF2b5HbByQZoLdCWB1Yqtg26g4irojpc= From 6c05821027df370ad10e58d00b665d7f23606b4f Mon Sep 17 00:00:00 2001 From: Fabrizio Sestito Date: Thu, 19 Sep 2024 08:06:37 +0200 Subject: [PATCH 2/2] test: update policy groups unique names Signed-off-by: Fabrizio Sestito --- internal/policies/client_test.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/internal/policies/client_test.go b/internal/policies/client_test.go index 179b5a77..ed33cecd 100644 --- a/internal/policies/client_test.go +++ b/internal/policies/client_test.go @@ -280,7 +280,7 @@ func TestGetPoliciesByNamespace(t *testing.T) { }, { Policy: admissionPolicyGroup1, - PolicyServer: &url.URL{Scheme: "https", Host: "policy-server-default.kubewarden.svc:443", Path: "/audit/namespacedpolicygroup-test-admissionPolicyGroup1"}, + PolicyServer: &url.URL{Scheme: "https", Host: "policy-server-default.kubewarden.svc:443", Path: "/audit/namespaced-group-test-admissionPolicyGroup1"}, }, }, { @@ -294,7 +294,7 @@ func TestGetPoliciesByNamespace(t *testing.T) { }, { Policy: clusterAdmissionPolicyGroup1, - PolicyServer: &url.URL{Scheme: "https", Host: "policy-server-default.kubewarden.svc:443", Path: "/audit/clusterwide-clusterAdmissionPolicyGroup1"}, + PolicyServer: &url.URL{Scheme: "https", Host: "policy-server-default.kubewarden.svc:443", Path: "/audit/clusterwide-group-clusterAdmissionPolicyGroup1"}, }, { Policy: admissionPolicy1, @@ -494,7 +494,7 @@ func TestGetClusterWidePolicies(t *testing.T) { }, { Policy: clusterAdmissionPolicyGroup1, - PolicyServer: &url.URL{Scheme: "https", Host: "policy-server-default.kubewarden.svc:443", Path: "/audit/clusterwide-clusterAdmissionPolicyGroup1"}, + PolicyServer: &url.URL{Scheme: "https", Host: "policy-server-default.kubewarden.svc:443", Path: "/audit/clusterwide-group-clusterAdmissionPolicyGroup1"}, }, }, },