From d53e9873aa2c8813cbab1aa94e0939ba0146dd37 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 19 Feb 2024 01:46:12 +0000 Subject: [PATCH] fix(deps): update all non-major dependencies --- .github/workflows/release.yml | 4 ++-- .github/workflows/test.yml | 2 +- go.mod | 2 +- go.sum | 2 ++ .../kubewarden/policy-sdk-go/constants/constants.go | 7 +++++++ vendor/modules.txt | 2 +- 6 files changed, 14 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 959f30c..c495dd5 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -10,7 +10,7 @@ name: Release policy jobs: test: name: run tests and linters - uses: kubewarden/github-actions/.github/workflows/reusable-test-policy-go.yml@v3.1.16 + uses: kubewarden/github-actions/.github/workflows/reusable-test-policy-go.yml@v3.1.17 release: needs: test @@ -22,6 +22,6 @@ jobs: # Required by cosign keyless signing id-token: write - uses: kubewarden/github-actions/.github/workflows/reusable-release-policy-go.yml@v3.1.16 + uses: kubewarden/github-actions/.github/workflows/reusable-release-policy-go.yml@v3.1.17 with: oci-target: ghcr.io/${{ github.repository_owner }}/policies/sysctl-psp diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 5a38196..c751a0d 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -3,4 +3,4 @@ name: Continuous integration jobs: test: name: run tests and linters - uses: kubewarden/github-actions/.github/workflows/reusable-test-policy-go.yml@v3.1.16 + uses: kubewarden/github-actions/.github/workflows/reusable-test-policy-go.yml@v3.1.17 diff --git a/go.mod b/go.mod index 0f16a9a..2a9096b 100644 --- a/go.mod +++ b/go.mod @@ -8,7 +8,7 @@ require ( github.com/deckarep/golang-set/v2 v2.6.0 github.com/francoispqt/onelog v0.0.0-20190306043706-8c2bb31b10a4 github.com/kubewarden/gjson v1.7.2 - github.com/kubewarden/policy-sdk-go v0.7.0 + github.com/kubewarden/policy-sdk-go v0.8.0 github.com/wapc/wapc-guest-tinygo v0.3.3 ) diff --git a/go.sum b/go.sum index 72d221a..ec181ff 100644 --- a/go.sum +++ b/go.sum @@ -30,6 +30,8 @@ github.com/kubewarden/policy-sdk-go v0.6.0 h1:f7RL+hkcjt1g5/4JmUU+itzsdMNs5rFJT7 github.com/kubewarden/policy-sdk-go v0.6.0/go.mod h1:C8sUX4FYhbP69cvQfPLmIvAJhVHQyg1qaq9EynOn8a0= github.com/kubewarden/policy-sdk-go v0.7.0 h1:quNOrqtZRgLHpknoIWl0yDWDK8xJ/hDtP8M40HVDPmc= github.com/kubewarden/policy-sdk-go v0.7.0/go.mod h1:wq/jwnVOpSaETu/n9DW0ePbeoUdoqYTEzlNKmZGaPIM= +github.com/kubewarden/policy-sdk-go v0.8.0 h1:4SR6UeKLBQ+UkwohuMqYw2lPKgqgF5Ifdw7tFNjQwiI= +github.com/kubewarden/policy-sdk-go v0.8.0/go.mod h1:gjYdcErABXti/dxoNW2PceSwy4+/X+o/wuLwWHZCoNU= github.com/kubewarden/strfmt v0.1.3 h1:bb+2rbotioROjCkziSt+hqnHXzOlumN94NxDKdV2kPI= github.com/kubewarden/strfmt v0.1.3/go.mod h1:DXoaaIYwqW1LyyRoMeyxfHUU+VUSTNFdj38juCXfRzs= github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= diff --git a/vendor/github.com/kubewarden/policy-sdk-go/constants/constants.go b/vendor/github.com/kubewarden/policy-sdk-go/constants/constants.go index 2cbb52a..3e4a6b5 100644 --- a/vendor/github.com/kubewarden/policy-sdk-go/constants/constants.go +++ b/vendor/github.com/kubewarden/policy-sdk-go/constants/constants.go @@ -4,4 +4,11 @@ const ( // ProtocolVersion is the version of the protocol used by the // Kubewarden waPC host and guest to exchange information ProtocolVersion = "v1" + // These two media types are manifests media types that the + // oci-distribution accepts when fetching images manifests. But they + // are not present in the open containers go lib used in the SDK. + // Therefore, we need to check for them as well in in the code used to + // fetch and parse the OCI image manifests. + ImageManifestListMediaType = "application/vnd.docker.distribution.manifest.list.v2+json" + ImageManifestMediaType = "application/vnd.docker.distribution.manifest.v2+json" ) diff --git a/vendor/modules.txt b/vendor/modules.txt index 9200e65..86bdadd 100644 --- a/vendor/modules.txt +++ b/vendor/modules.txt @@ -22,7 +22,7 @@ github.com/kubewarden/k8s-objects/apimachinery/pkg/api/resource github.com/kubewarden/k8s-objects/apimachinery/pkg/apis/meta/v1 github.com/kubewarden/k8s-objects/apimachinery/pkg/runtime/schema github.com/kubewarden/k8s-objects/apimachinery/pkg/util/intstr -# github.com/kubewarden/policy-sdk-go v0.7.0 +# github.com/kubewarden/policy-sdk-go v0.8.0 ## explicit; go 1.21 github.com/kubewarden/policy-sdk-go github.com/kubewarden/policy-sdk-go/constants