Skip to content

Commit

Permalink
Bump controll-gen version from v0.11.1 to v0.14.0
Browse files Browse the repository at this point in the history
  • Loading branch information
jenting authored Mar 9, 2024
1 parent 1a9221d commit 0d68b3e
Show file tree
Hide file tree
Showing 5 changed files with 47 additions and 47 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ ENVTEST ?= $(LOCALBIN)/setup-envtest

## Tool Versions
KUSTOMIZE_VERSION ?= v4.5.7
CONTROLLER_TOOLS_VERSION ?= v0.11.1
CONTROLLER_TOOLS_VERSION ?= v0.14.0

KUSTOMIZE_INSTALL_SCRIPT ?= "https://raw.githubusercontent.com/kubernetes-sigs/kustomize/master/hack/install_kustomize.sh"
.PHONY: kustomize
Expand Down
1 change: 0 additions & 1 deletion api/v1/zz_generated.deepcopy.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

20 changes: 12 additions & 8 deletions config/crd/bases/jenting.io_projectresourcequotas.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.11.1
creationTimestamp: null
controller-gen.kubebuilder.io/version: v0.14.0
name: projectresourcequotas.jenting.io
spec:
group: jenting.io
Expand Down Expand Up @@ -37,14 +36,19 @@ spec:
API
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
1 change: 0 additions & 1 deletion config/rbac/role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
creationTimestamp: null
name: manager-role
rules:
- apiGroups:
Expand Down
70 changes: 34 additions & 36 deletions config/webhook/manifests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
apiVersion: admissionregistration.k8s.io/v1
kind: MutatingWebhookConfiguration
metadata:
creationTimestamp: null
name: mutating-webhook-configuration
webhooks:
- admissionReviewVersions:
Expand Down Expand Up @@ -32,31 +31,30 @@ webhooks:
service:
name: webhook-service
namespace: system
path: /mutate--v1-persistentvolumeclaim
failurePolicy: Ignore
matchPolicy: Exact
name: persistentvolumeclaim.jenting.io
path: /mutate-jenting-io-v1-projectresourcequota
failurePolicy: Fail
name: mprojectresourcequota.kb.io
rules:
- apiGroups:
- ""
- jenting.io
apiVersions:
- v1
operations:
- CREATE
- UPDATE
resources:
- persistentvolumeclaims
- projectresourcequotas
sideEffects: None
- admissionReviewVersions:
- v1
clientConfig:
service:
name: webhook-service
namespace: system
path: /mutate--v1-pod
path: /mutate--v1-persistentvolumeclaim
failurePolicy: Ignore
matchPolicy: Exact
name: pod.jenting.io
name: persistentvolumeclaim.jenting.io
rules:
- apiGroups:
- ""
Expand All @@ -66,27 +64,28 @@ webhooks:
- CREATE
- UPDATE
resources:
- pods
- persistentvolumeclaims
sideEffects: None
- admissionReviewVersions:
- v1
clientConfig:
service:
name: webhook-service
namespace: system
path: /mutate-jenting-io-v1-projectresourcequota
failurePolicy: Fail
name: mprojectresourcequota.kb.io
path: /mutate--v1-pod
failurePolicy: Ignore
matchPolicy: Exact
name: pod.jenting.io
rules:
- apiGroups:
- jenting.io
- ""
apiVersions:
- v1
operations:
- CREATE
- UPDATE
resources:
- projectresourcequotas
- pods
sideEffects: None
- admissionReviewVersions:
- v1
Expand Down Expand Up @@ -176,7 +175,6 @@ webhooks:
apiVersion: admissionregistration.k8s.io/v1
kind: ValidatingWebhookConfiguration
metadata:
creationTimestamp: null
name: validating-webhook-configuration
webhooks:
- admissionReviewVersions:
Expand Down Expand Up @@ -242,26 +240,6 @@ webhooks:
resources:
- pods
sideEffects: None
- admissionReviewVersions:
- v1
clientConfig:
service:
name: webhook-service
namespace: system
path: /validate-jenting-io-v1-projectresourcequota
failurePolicy: Fail
name: vprojectresourcequota.kb.io
rules:
- apiGroups:
- jenting.io
apiVersions:
- v1
operations:
- CREATE
- UPDATE
resources:
- projectresourcequotas
sideEffects: None
- admissionReviewVersions:
- v1
clientConfig:
Expand Down Expand Up @@ -346,3 +324,23 @@ webhooks:
resources:
- services
sideEffects: None
- admissionReviewVersions:
- v1
clientConfig:
service:
name: webhook-service
namespace: system
path: /validate-jenting-io-v1-projectresourcequota
failurePolicy: Fail
name: vprojectresourcequota.kb.io
rules:
- apiGroups:
- jenting.io
apiVersions:
- v1
operations:
- CREATE
- UPDATE
resources:
- projectresourcequotas
sideEffects: None

0 comments on commit 0d68b3e

Please sign in to comment.