Skip to content

Commit badb0f8

Browse files
authored
chore: bump kyverno-json (#1793)
Signed-off-by: Charles-Edouard Brétéché <[email protected]>
1 parent 9b63b86 commit badb0f8

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ require (
1212
github.com/hashicorp/go-getter v1.7.5
1313
github.com/jmespath-community/go-jmespath v1.1.2-0.20240627155901-bdbb290f571e
1414
github.com/kudobuilder/kuttl v0.18.0
15-
github.com/kyverno/kyverno-json v0.0.4-0.20240730094957-99eace6e4275
15+
github.com/kyverno/kyverno-json v0.0.4-0.20240730123003-42f7e4f4fb41
1616
github.com/kyverno/pkg/ext v0.0.0-20240418121121-df8add26c55c
1717
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2
1818
github.com/prometheus/common v0.47.0

go.sum

+2-2
Original file line numberDiff line numberDiff line change
@@ -481,8 +481,8 @@ github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY=
481481
github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE=
482482
github.com/kudobuilder/kuttl v0.18.0 h1:WeoxTamWd8AXVj6NWH1PCaV8CEXavaPJiExbm2J7bcI=
483483
github.com/kudobuilder/kuttl v0.18.0/go.mod h1:ZXR6RcZg9CBYvVPgd2eaGLn3o0ihSvYQOCvwaN+psaw=
484-
github.com/kyverno/kyverno-json v0.0.4-0.20240730094957-99eace6e4275 h1:RtkyaWdjCZfqNAE3s+MaxWde79fbdHrDWc1inolpxEE=
485-
github.com/kyverno/kyverno-json v0.0.4-0.20240730094957-99eace6e4275/go.mod h1:3LgZogzltja+Sx0o5CIa7d7+991v8sWXHskU0fWSOsQ=
484+
github.com/kyverno/kyverno-json v0.0.4-0.20240730123003-42f7e4f4fb41 h1:fyXMkX+wyTVpCiIoDjFp20OApqNRBK51D5MvmAidAuQ=
485+
github.com/kyverno/kyverno-json v0.0.4-0.20240730123003-42f7e4f4fb41/go.mod h1:3LgZogzltja+Sx0o5CIa7d7+991v8sWXHskU0fWSOsQ=
486486
github.com/kyverno/pkg/ext v0.0.0-20240418121121-df8add26c55c h1:lAolpR9H8BwM5lRRvgCQ8JowswyxZRH+fgtIQzHFVCk=
487487
github.com/kyverno/pkg/ext v0.0.0-20240418121121-df8add26c55c/go.mod h1:02vxM0GNXz9+B/i6+rMfWAIwibUuAH+qFsd73IFskgQ=
488488
github.com/mailru/easyjson v0.7.7 h1:UGYAvKxe3sBsEDzO8ZeWOSlIQfWFlxbzLZe7hwFURr0=

pkg/commands/assert/command_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ func Test_runE(t *testing.T) {
215215
"------------------------\n" +
216216
"v1/ConfigMap/quick-start\n" +
217217
"------------------------\n" +
218-
"* data.foo: Required value: projection is not valid\n\n" +
218+
"* data.foo: Required value: field not found in the input object\n\n" +
219219
"--- expected\n" +
220220
"+++ actual\n" +
221221
"@@ -1,6 +1,5 @@\n" +

pkg/runner/operations/assert/operation_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ func Test_operationAssert(t *testing.T) {
176176
return nil
177177
},
178178
},
179-
expectedLogs: []string{"ASSERT: RUN - []", "ASSERT: ERROR - [=== ERROR\n---------------\nv1/Pod/test-pod\n---------------\n* spec.foo: Required value: projection is not valid\n\n--- expected\n+++ actual\n@@ -2,6 +2,5 @@\n kind: Pod\n metadata:\n name: test-pod\n-spec:\n- foo: bar\n+spec: {}]"},
179+
expectedLogs: []string{"ASSERT: RUN - []", "ASSERT: ERROR - [=== ERROR\n---------------\nv1/Pod/test-pod\n---------------\n* spec.foo: Required value: field not found in the input object\n\n--- expected\n+++ actual\n@@ -2,6 +2,5 @@\n kind: Pod\n metadata:\n name: test-pod\n-spec:\n- foo: bar\n+spec: {}]"},
180180
expectErr: true,
181181
}, {
182182
name: "Successful match using List",

0 commit comments

Comments
 (0)