mirror of
https://github.com/kubernetes-sigs/external-dns.git
synced 2025-08-06 01:26:59 +02:00
Merge pull request #4400 from kubeservice-stack/update-controller-gen
chore: Update controller-tools version to v0.14.0
This commit is contained in:
commit
a7a2286439
2
Makefile
2
Makefile
@ -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
|
||||||
|
@ -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: []
|
|
||||||
|
Loading…
Reference in New Issue
Block a user