Skip to content

Commit

Permalink
chore: bump kyverno-json (#1793) (#1795)
Browse files Browse the repository at this point in the history
Signed-off-by: Charles-Edouard Brétéché <[email protected]>
Co-authored-by: Charles-Edouard Brétéché <[email protected]>
  • Loading branch information
gcp-cherry-pick-bot[bot] and eddycharly authored Jul 30, 2024
1 parent 01cfd2b commit dc6070d
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ require (
github.com/hashicorp/go-getter v1.7.5
github.com/jmespath-community/go-jmespath v1.1.2-0.20240627155901-bdbb290f571e
github.com/kudobuilder/kuttl v0.18.0
github.com/kyverno/kyverno-json v0.0.4-0.20240730094957-99eace6e4275
github.com/kyverno/kyverno-json v0.0.4-0.20240730123003-42f7e4f4fb41
github.com/kyverno/pkg/ext v0.0.0-20240418121121-df8add26c55c
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2
github.com/prometheus/common v0.47.0
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -481,8 +481,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/kudobuilder/kuttl v0.18.0 h1:WeoxTamWd8AXVj6NWH1PCaV8CEXavaPJiExbm2J7bcI=
github.com/kudobuilder/kuttl v0.18.0/go.mod h1:ZXR6RcZg9CBYvVPgd2eaGLn3o0ihSvYQOCvwaN+psaw=
github.com/kyverno/kyverno-json v0.0.4-0.20240730094957-99eace6e4275 h1:RtkyaWdjCZfqNAE3s+MaxWde79fbdHrDWc1inolpxEE=
github.com/kyverno/kyverno-json v0.0.4-0.20240730094957-99eace6e4275/go.mod h1:3LgZogzltja+Sx0o5CIa7d7+991v8sWXHskU0fWSOsQ=
github.com/kyverno/kyverno-json v0.0.4-0.20240730123003-42f7e4f4fb41 h1:fyXMkX+wyTVpCiIoDjFp20OApqNRBK51D5MvmAidAuQ=
github.com/kyverno/kyverno-json v0.0.4-0.20240730123003-42f7e4f4fb41/go.mod h1:3LgZogzltja+Sx0o5CIa7d7+991v8sWXHskU0fWSOsQ=
github.com/kyverno/pkg/ext v0.0.0-20240418121121-df8add26c55c h1:lAolpR9H8BwM5lRRvgCQ8JowswyxZRH+fgtIQzHFVCk=
github.com/kyverno/pkg/ext v0.0.0-20240418121121-df8add26c55c/go.mod h1:02vxM0GNXz9+B/i6+rMfWAIwibUuAH+qFsd73IFskgQ=
github.com/mailru/easyjson v0.7.7 h1:UGYAvKxe3sBsEDzO8ZeWOSlIQfWFlxbzLZe7hwFURr0=
Expand Down
2 changes: 1 addition & 1 deletion pkg/commands/assert/command_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ func Test_runE(t *testing.T) {
"------------------------\n" +
"v1/ConfigMap/quick-start\n" +
"------------------------\n" +
"* data.foo: Required value: projection is not valid\n\n" +
"* data.foo: Required value: field not found in the input object\n\n" +
"--- expected\n" +
"+++ actual\n" +
"@@ -1,6 +1,5 @@\n" +
Expand Down
2 changes: 1 addition & 1 deletion pkg/runner/operations/assert/operation_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ func Test_operationAssert(t *testing.T) {
return nil
},
},
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: {}]"},
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: {}]"},
expectErr: true,
}, {
name: "Successful match using List",
Expand Down

0 comments on commit dc6070d

Please sign in to comment.