Skip to content

Commit d75bd41

Browse files
fix(deps): update kubernetes packages to v0.30.1 (#165)
* fix(deps): update kubernetes packages to v0.30.1 Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore: upgrade controller-gen, controller-runtime Signed-off-by: Tyler Gillson <[email protected]> * Update bulwark-golicenses.yaml * Update bulwark-golicenses.yaml * ci: use spectro golang img Signed-off-by: Tyler Gillson <[email protected]> --------- Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Signed-off-by: Tyler Gillson <[email protected]> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Tyler Gillson <[email protected]>
1 parent c5edf12 commit d75bd41

File tree

6 files changed

+64
-64
lines changed

6 files changed

+64
-64
lines changed

.github/workflows/bulwark-golicenses.yaml

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -11,21 +11,15 @@ concurrency:
1111
jobs:
1212
golicense-pr-scan:
1313
runs-on: [self-hosted, Linux, X64, validator]
14+
container:
15+
image: gcr.io/spectro-images-public/golang:1.22.3-alpine3.18
1416
steps:
15-
- name: install-git
16-
run: sudo apt-get install -y git
17-
1817
- name: checkout
1918
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
2019

21-
- name: Set up Go
22-
uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5
23-
with:
24-
go-version-file: go.mod
25-
2620
- name: install-golicenses
27-
run: go install github.com/google/go-licenses@v1.6.0
21+
run: GOBIN=/usr/local/bin go install github.com/google/go-licenses@latest
2822

2923
- name: golicense-scan
3024
run: |
31-
go-licenses check ./... --ignore github.com/alibabacloud-go/cr-20160607
25+
go-licenses check --ignore github.com/alibabacloud-go/cr-20160607 ./...

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ ENVTEST ?= $(LOCALBIN)/setup-envtest
159159

160160
## Tool Versions
161161
CHART_VERSION=v0.0.1 # x-release-please-version
162-
CONTROLLER_TOOLS_VERSION ?= v0.12.0
162+
CONTROLLER_TOOLS_VERSION ?= v0.15.0
163163
ENVTEST_K8S_VERSION = 1.27.1
164164
HELM_VERSION=v3.10.1
165165
KUSTOMIZE_VERSION ?= v5.0.1

api/v1alpha1/zz_generated.deepcopy.go

Lines changed: 0 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

config/crd/bases/validation.spectrocloud.labs_ocivalidators.yaml

Lines changed: 32 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
33
kind: CustomResourceDefinition
44
metadata:
55
annotations:
6-
controller-gen.kubebuilder.io/version: v0.12.0
6+
controller-gen.kubebuilder.io/version: v0.15.0
77
name: ocivalidators.validation.spectrocloud.labs
88
spec:
99
group: validation.spectrocloud.labs
@@ -20,14 +20,19 @@ spec:
2020
description: OciValidator is the Schema for the ocivalidators API
2121
properties:
2222
apiVersion:
23-
description: 'APIVersion defines the versioned schema of this representation
24-
of an object. Servers should convert recognized schemas to the latest
25-
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
23+
description: |-
24+
APIVersion defines the versioned schema of this representation of an object.
25+
Servers should convert recognized schemas to the latest internal value, and
26+
may reject unrecognized values.
27+
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
2628
type: string
2729
kind:
28-
description: 'Kind is a string value representing the REST resource this
29-
object represents. Servers may infer this from the endpoint the client
30-
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
30+
description: |-
31+
Kind is a string value representing the REST resource this object represents.
32+
Servers may infer this from the endpoint the client submits requests to.
33+
Cannot be updated.
34+
In CamelCase.
35+
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
3136
type: string
3237
metadata:
3338
type: object
@@ -43,19 +48,22 @@ spec:
4348
items:
4449
properties:
4550
layerValidation:
46-
description: 'LayerValidation specifies whether deep validation
47-
of the artifact layers should be performed. The existence
48-
of layers is always validated, but this option allows
49-
for the deep validation of the layers. See more details
50-
here: https://github.com/google/go-containerregistry/blob/8dadbe76ff8c20d0e509406f04b7eade43baa6c1/pkg/v1/validate/image.go#L105'
51+
description: |-
52+
LayerValidation specifies whether deep validation of the artifact layers should be performed.
53+
The existence of layers is always validated, but this option allows for the deep validation of the layers.
54+
See more details here:
55+
https://github.com/google/go-containerregistry/blob/8dadbe76ff8c20d0e509406f04b7eade43baa6c1/pkg/v1/validate/image.go#L105
5156
type: boolean
5257
ref:
53-
description: "Ref is the path to the artifact in the host
54-
registry that should be validated. An individual artifact
55-
can take any of the following forms: <repository-path>/<artifact-name>
56-
<repository-path>/<artifact-name>:<tag> <repository-path>/<artifact-name>@<digest>
57-
\n When no tag or digest are specified, the default
58-
tag \"latest\" is used."
58+
description: |-
59+
Ref is the path to the artifact in the host registry that should be validated.
60+
An individual artifact can take any of the following forms:
61+
<repository-path>/<artifact-name>
62+
<repository-path>/<artifact-name>:<tag>
63+
<repository-path>/<artifact-name>@<digest>
64+
65+
66+
When no tag or digest are specified, the default tag "latest" is used.
5967
type: string
6068
required:
6169
- ref
@@ -66,10 +74,9 @@ spec:
6674
registry
6775
properties:
6876
secretName:
69-
description: SecretName is the name of the Kubernetes Secret
70-
that exists in the same namespace as the OciValidator
71-
and that contains the credentials used to authenticate
72-
to the OCI Registry
77+
description: |-
78+
SecretName is the name of the Kubernetes Secret that exists in the same namespace as the OciValidator
79+
and that contains the credentials used to authenticate to the OCI Registry
7380
type: string
7481
required:
7582
- secretName
@@ -96,10 +103,9 @@ spec:
96103
- cosign
97104
type: string
98105
secretName:
99-
description: SecretName is the name of the Kubernetes Secret
100-
that exists in the same namespace as the OciValidator
101-
and that contains the trusted public keys used to sign
102-
artifacts in the OciRegistryRule
106+
description: |-
107+
SecretName is the name of the Kubernetes Secret that exists in the same namespace as the OciValidator
108+
and that contains the trusted public keys used to sign artifacts in the OciRegistryRule
103109
type: string
104110
required:
105111
- provider

go.mod

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
module github.com/validator-labs/validator-plugin-oci
22

3-
go 1.21.6
3+
go 1.22.0
4+
5+
toolchain go1.22.3
46

57
require (
68
github.com/aws/aws-sdk-go-v2/config v1.27.14
@@ -14,11 +16,11 @@ require (
1416
github.com/sigstore/sigstore v1.8.3
1517
github.com/stretchr/testify v1.9.0
1618
github.com/validator-labs/validator v0.0.39
17-
k8s.io/api v0.29.3
18-
k8s.io/apimachinery v0.29.3
19-
k8s.io/client-go v0.29.3
19+
k8s.io/api v0.30.1
20+
k8s.io/apimachinery v0.30.1
21+
k8s.io/client-go v0.30.1
2022
sigs.k8s.io/cluster-api v1.7.2
21-
sigs.k8s.io/controller-runtime v0.17.3
23+
sigs.k8s.io/controller-runtime v0.18.3
2224
)
2325

2426
require (
@@ -191,10 +193,9 @@ require (
191193
gopkg.in/ini.v1 v1.67.0 // indirect
192194
gopkg.in/yaml.v2 v2.4.0 // indirect
193195
gopkg.in/yaml.v3 v3.0.1 // indirect
194-
k8s.io/apiextensions-apiserver v0.29.3 // indirect
195-
k8s.io/component-base v0.29.3 // indirect
196+
k8s.io/apiextensions-apiserver v0.30.1 // indirect
196197
k8s.io/klog/v2 v2.120.1 // indirect
197-
k8s.io/kube-openapi v0.0.0-20231010175941-2dd684a91f00 // indirect
198+
k8s.io/kube-openapi v0.0.0-20240228011516-70dd3763d340 // indirect
198199
k8s.io/utils v0.0.0-20231127182322-b307cd553661 // indirect
199200
sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd // indirect
200201
sigs.k8s.io/release-utils v0.7.7 // indirect

go.sum

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -332,8 +332,8 @@ github.com/golang/protobuf v1.5.4 h1:i7eJL8qZTpSEXOPTxNKhASYpMn+8e5Q6AdndVa1dWek
332332
github.com/golang/protobuf v1.5.4/go.mod h1:lnTiLA8Wa4RWRcIUkrtSVa5nRhsEGBg48fD6rSs7xps=
333333
github.com/golang/snappy v0.0.4 h1:yAGX7huGHXlcLOEtBnF4w7FQwA26wojNCwOYAEhLjQM=
334334
github.com/golang/snappy v0.0.4/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q=
335-
github.com/google/cel-go v0.17.7 h1:6ebJFzu1xO2n7TLtN+UBqShGBhlD85bhvglh5DpcfqQ=
336-
github.com/google/cel-go v0.17.7/go.mod h1:HXZKzB0LXqer5lHHgfWAnlYwJaQBDKMjxjulNQzhwhY=
335+
github.com/google/cel-go v0.17.8 h1:j9m730pMZt1Fc4oKhCLUHfjj6527LuhYcYw0Rl8gqto=
336+
github.com/google/cel-go v0.17.8/go.mod h1:HXZKzB0LXqer5lHHgfWAnlYwJaQBDKMjxjulNQzhwhY=
337337
github.com/google/certificate-transparency-go v1.1.8 h1:LGYKkgZF7satzgTak9R4yzfJXEeYVAjV6/EAEJOf1to=
338338
github.com/google/certificate-transparency-go v1.1.8/go.mod h1:bV/o8r0TBKRf1X//iiiSgWrvII4d7/8OiA+3vG26gI8=
339339
github.com/google/gnostic-models v0.6.9-0.20230804172637-c7be7c783f49 h1:0VpGH+cDhbDtdcweoyCVsF3fhN8kejK6rFe/2FFX2nU=
@@ -864,30 +864,30 @@ gotest.tools/v3 v3.0.3 h1:4AuOwCGf4lLR9u3YOe2awrHygurzhO/HeQ6laiA6Sx0=
864864
gotest.tools/v3 v3.0.3/go.mod h1:Z7Lb0S5l+klDB31fvDQX8ss/FlKDxtlFlw3Oa8Ymbl8=
865865
honnef.co/go/tools v0.0.0-20190102054323-c2f93a96b099/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4=
866866
honnef.co/go/tools v0.0.0-20190523083050-ea95bdfd59fc/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4=
867-
k8s.io/api v0.29.3 h1:2ORfZ7+bGC3YJqGpV0KSDDEVf8hdGQ6A03/50vj8pmw=
868-
k8s.io/api v0.29.3/go.mod h1:y2yg2NTyHUUkIoTC+phinTnEa3KFM6RZ3szxt014a80=
869-
k8s.io/apiextensions-apiserver v0.29.3 h1:9HF+EtZaVpFjStakF4yVufnXGPRppWFEQ87qnO91YeI=
870-
k8s.io/apiextensions-apiserver v0.29.3/go.mod h1:po0XiY5scnpJfFizNGo6puNU6Fq6D70UJY2Cb2KwAVc=
871-
k8s.io/apimachinery v0.29.3 h1:2tbx+5L7RNvqJjn7RIuIKu9XTsIZ9Z5wX2G22XAa5EU=
872-
k8s.io/apimachinery v0.29.3/go.mod h1:hx/S4V2PNW4OMg3WizRrHutyB5la0iCUbZym+W0EQIU=
873-
k8s.io/apiserver v0.29.3 h1:xR7ELlJ/BZSr2n4CnD3lfA4gzFivh0wwfNfz9L0WZcE=
874-
k8s.io/apiserver v0.29.3/go.mod h1:hrvXlwfRulbMbBgmWRQlFru2b/JySDpmzvQwwk4GUOs=
875-
k8s.io/client-go v0.29.3 h1:R/zaZbEAxqComZ9FHeQwOh3Y1ZUs7FaHKZdQtIc2WZg=
876-
k8s.io/client-go v0.29.3/go.mod h1:tkDisCvgPfiRpxGnOORfkljmS+UrW+WtXAy2fTvXJB0=
867+
k8s.io/api v0.30.1 h1:kCm/6mADMdbAxmIh0LBjS54nQBE+U4KmbCfIkF5CpJY=
868+
k8s.io/api v0.30.1/go.mod h1:ddbN2C0+0DIiPntan/bye3SW3PdwLa11/0yqwvuRrJM=
869+
k8s.io/apiextensions-apiserver v0.30.1 h1:4fAJZ9985BmpJG6PkoxVRpXv9vmPUOVzl614xarePws=
870+
k8s.io/apiextensions-apiserver v0.30.1/go.mod h1:R4GuSrlhgq43oRY9sF2IToFh7PVlF1JjfWdoG3pixk4=
871+
k8s.io/apimachinery v0.30.1 h1:ZQStsEfo4n65yAdlGTfP/uSHMQSoYzU/oeEbkmF7P2U=
872+
k8s.io/apimachinery v0.30.1/go.mod h1:iexa2somDaxdnj7bha06bhb43Zpa6eWH8N8dbqVjTUc=
873+
k8s.io/apiserver v0.30.1 h1:BEWEe8bzS12nMtDKXzCF5Q5ovp6LjjYkSp8qOPk8LZ8=
874+
k8s.io/apiserver v0.30.1/go.mod h1:i87ZnQ+/PGAmSbD/iEKM68bm1D5reX8fO4Ito4B01mo=
875+
k8s.io/client-go v0.30.1 h1:uC/Ir6A3R46wdkgCV3vbLyNOYyCJ8oZnjtJGKfytl/Q=
876+
k8s.io/client-go v0.30.1/go.mod h1:wrAqLNs2trwiCH/wxxmT/x3hKVH9PuV0GGW0oDoHVqc=
877877
k8s.io/cluster-bootstrap v0.29.3 h1:DIMDZSN8gbFMy9CS2mAS2Iqq/fIUG783WN/1lqi5TF8=
878878
k8s.io/cluster-bootstrap v0.29.3/go.mod h1:aPAg1VtXx3uRrx5qU2jTzR7p1rf18zLXWS+pGhiqPto=
879-
k8s.io/component-base v0.29.3 h1:Oq9/nddUxlnrCuuR2K/jp6aflVvc0uDvxMzAWxnGzAo=
880-
k8s.io/component-base v0.29.3/go.mod h1:Yuj33XXjuOk2BAaHsIGHhCKZQAgYKhqIxIjIr2UXYio=
879+
k8s.io/component-base v0.30.1 h1:bvAtlPh1UrdaZL20D9+sWxsJljMi0QZ3Lmw+kmZAaxQ=
880+
k8s.io/component-base v0.30.1/go.mod h1:e/X9kDiOebwlI41AvBHuWdqFriSRrX50CdwA9TFaHLI=
881881
k8s.io/klog/v2 v2.120.1 h1:QXU6cPEOIslTGvZaXvFWiP9VKyeet3sawzTOvdXb4Vw=
882882
k8s.io/klog/v2 v2.120.1/go.mod h1:3Jpz1GvMt720eyJH1ckRHK1EDfpxISzJ7I9OYgaDtPE=
883-
k8s.io/kube-openapi v0.0.0-20231010175941-2dd684a91f00 h1:aVUu9fTY98ivBPKR9Y5w/AuzbMm96cd3YHRTU83I780=
884-
k8s.io/kube-openapi v0.0.0-20231010175941-2dd684a91f00/go.mod h1:AsvuZPBlUDVuCdzJ87iajxtXuR9oktsTctW/R9wwouA=
883+
k8s.io/kube-openapi v0.0.0-20240228011516-70dd3763d340 h1:BZqlfIlq5YbRMFko6/PM7FjZpUb45WallggurYhKGag=
884+
k8s.io/kube-openapi v0.0.0-20240228011516-70dd3763d340/go.mod h1:yD4MZYeKMBwQKVht279WycxKyM84kkAx2DPrTXaeb98=
885885
k8s.io/utils v0.0.0-20231127182322-b307cd553661 h1:FepOBzJ0GXm8t0su67ln2wAZjbQ6RxQGZDnzuLcrUTI=
886886
k8s.io/utils v0.0.0-20231127182322-b307cd553661/go.mod h1:OLgZIPagt7ERELqWJFomSt595RzquPNLL48iOWgYOg0=
887887
sigs.k8s.io/cluster-api v1.7.2 h1:bRE8zoao7ajuLC0HijqfZVcubKQCPlZ04HMgcA53FGE=
888888
sigs.k8s.io/cluster-api v1.7.2/go.mod h1:V9ZhKLvQtsDODwjXOKgbitjyCmC71yMBwDcMyNNIov0=
889-
sigs.k8s.io/controller-runtime v0.17.3 h1:65QmN7r3FWgTxDMz9fvGnO1kbf2nu+acg9p2R9oYYYk=
890-
sigs.k8s.io/controller-runtime v0.17.3/go.mod h1:N0jpP5Lo7lMTF9aL56Z/B2oWBJjey6StQM0jRbKQXtY=
889+
sigs.k8s.io/controller-runtime v0.18.3 h1:B5Wmmo8WMWK7izei+2LlXLVDGzMwAHBNLX68lwtlSR4=
890+
sigs.k8s.io/controller-runtime v0.18.3/go.mod h1:TVoGrfdpbA9VRFaRnKgk9P5/atA0pMwq+f+msb9M8Sg=
891891
sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd h1:EDPBXCAspyGV4jQlpZSudPeMmr1bNJefnuqLsRAsHZo=
892892
sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd/go.mod h1:B8JuhiUyNFVKdsE8h686QcCxMaH6HrOAZj4vswFpcB0=
893893
sigs.k8s.io/release-utils v0.7.7 h1:JKDOvhCk6zW8ipEOkpTGDH/mW3TI+XqtPp16aaQ79FU=

0 commit comments

Comments
 (0)