Merge pull request #4400 from kubeservice-stack/update-controller-gen

chore: Update controller-tools version to v0.14.0
This commit is contained in:
Kubernetes Prow Robot 2024-04-24 01:02:58 -07:00 committed by GitHub
commit a7a2286439
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 22 additions and 17 deletions

View File

@ -36,7 +36,7 @@ ifeq (, $(shell which controller-gen))
CONTROLLER_GEN_TMP_DIR=$$(mktemp -d) ;\ CONTROLLER_GEN_TMP_DIR=$$(mktemp -d) ;\
cd $$CONTROLLER_GEN_TMP_DIR ;\ cd $$CONTROLLER_GEN_TMP_DIR ;\
go mod init tmp ;\ go mod init tmp ;\
go get sigs.k8s.io/controller-tools/cmd/controller-gen@v0.5.0 ;\ go get sigs.k8s.io/controller-tools/cmd/controller-gen@v0.14.0 ;\
rm -rf $$CONTROLLER_GEN_TMP_DIR ;\ rm -rf $$CONTROLLER_GEN_TMP_DIR ;\
} }
CONTROLLER_GEN=$(GOBIN)/controller-gen CONTROLLER_GEN=$(GOBIN)/controller-gen

View File

@ -1,12 +1,9 @@
--- ---
apiVersion: apiextensions.k8s.io/v1 apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition kind: CustomResourceDefinition
metadata: metadata:
annotations: annotations:
controller-gen.kubebuilder.io/version: v0.5.0 controller-gen.kubebuilder.io/version: v0.14.0
api-approved.kubernetes.io: "https://github.com/kubernetes-sigs/external-dns/pull/2007"
creationTimestamp: null
name: dnsendpoints.externaldns.k8s.io name: dnsendpoints.externaldns.k8s.io
spec: spec:
group: externaldns.k8s.io group: externaldns.k8s.io
@ -22,10 +19,19 @@ spec:
openAPIV3Schema: openAPIV3Schema:
properties: properties:
apiVersion: 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 type: string
kind: 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 type: string
metadata: metadata:
type: object type: object
@ -34,7 +40,8 @@ spec:
properties: properties:
endpoints: endpoints:
items: items:
description: Endpoint is a high-level way of a connection between a service and an IP description: Endpoint is a high-level way of a connection between
a service and an IP
properties: properties:
dnsName: dnsName:
description: The hostname of the DNS record description: The hostname of the DNS record
@ -47,7 +54,8 @@ spec:
providerSpecific: providerSpecific:
description: ProviderSpecific stores provider specific config description: ProviderSpecific stores provider specific config
items: items:
description: ProviderSpecificProperty holds the name and value of a configuration which is specific to individual DNS providers description: ProviderSpecificProperty holds the name and value
of a configuration which is specific to individual DNS providers
properties: properties:
name: name:
type: string type: string
@ -60,10 +68,13 @@ spec:
format: int64 format: int64
type: integer type: integer
recordType: recordType:
description: RecordType type of record, e.g. CNAME, A, SRV, TXT etc description: RecordType type of record, e.g. CNAME, A, AAAA,
SRV, TXT etc
type: string type: string
setIdentifier: setIdentifier:
description: Identifier to distinguish multiple records with the same name and type (e.g. Route53 records with routing policies other than 'simple') description: Identifier to distinguish multiple records with
the same name and type (e.g. Route53 records with routing
policies other than 'simple')
type: string type: string
targets: targets:
description: The targets the DNS record points to description: The targets the DNS record points to
@ -86,9 +97,3 @@ spec:
storage: true storage: true
subresources: subresources:
status: {} status: {}
status:
acceptedNames:
kind: ""
plural: ""
conditions: []
storedVersions: []