Skip to content

Commit

Permalink
chore: bump k8s operator building tooling
Browse files Browse the repository at this point in the history
controller-gen old version lacks support, bumping to the latest version.
  • Loading branch information
geyslan committed Jan 10, 2025
1 parent 6ae8b61 commit 264b1a6
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 10 deletions.
4 changes: 2 additions & 2 deletions builder/Dockerfile.k8s
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
FROM golang:1.22.3
FROM golang:1.23.0

RUN go install sigs.k8s.io/controller-tools/cmd/controller-gen@v0.13.0
RUN go install sigs.k8s.io/controller-tools/cmd/controller-gen@v0.17.0

WORKDIR /tracee
19 changes: 12 additions & 7 deletions deploy/helm/tracee/crds/tracee.aquasec.com_policies.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.13.0
controller-gen.kubebuilder.io/version: v0.17.0
name: policies.tracee.aquasec.com
spec:
group: tracee.aquasec.com
Expand All @@ -19,14 +19,19 @@ spec:
openAPIV3Schema:
properties:
apiVersion:
description: 'APIVersion defines the versioned schema of this representation
of an object. Servers should convert recognized schemas to the latest
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
description: |-
APIVersion defines the versioned schema of this representation of an object.
Servers should convert recognized schemas to the latest internal value, and
may reject unrecognized values.
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
type: string
kind:
description: 'Kind is a string value representing the REST resource this
object represents. Servers may infer this from the endpoint the client
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
description: |-
Kind is a string value representing the REST resource this object represents.
Servers may infer this from the endpoint the client submits requests to.
Cannot be updated.
In CamelCase.
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
type: string
metadata:
type: object
Expand Down
2 changes: 1 addition & 1 deletion performance/benchmark/network/manifests/crd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.13.0
controller-gen.kubebuilder.io/version: v0.17.0
name: policies.tracee.aquasec.com
spec:
group: tracee.aquasec.com
Expand Down

0 comments on commit 264b1a6

Please sign in to comment.