102 lines
4.2 kB
1
apiVersion: apiextensions.k8s.io/v1
2
kind: CustomResourceDefinition
3
metadata:
4
name: dnsendpoints.externaldns.k8s.io
5
annotations:
6
api-approved.kubernetes.io: https://github.com/kubernetes-sigs/external-dns/pull/2007
7
spec:
8
group: externaldns.k8s.io
9
names:
10
kind: DNSEndpoint
11
listKind: DNSEndpointList
12
plural: dnsendpoints
13
singular: dnsendpoint
14
scope: Namespaced
15
versions:
16
- name: v1alpha1
17
schema:
18
openAPIV3Schema:
19
properties:
20
apiVersion:
21
description: |-
22
APIVersion defines the versioned schema of this representation of an object.
23
Servers should convert recognized schemas to the latest internal value, and
24
may reject unrecognized values.
25
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
26
type: string
27
kind:
28
description: |-
29
Kind is a string value representing the REST resource this object represents.
30
Servers may infer this from the endpoint the client submits requests to.
31
Cannot be updated.
32
In CamelCase.
33
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
34
type: string
35
metadata:
36
type: object
37
spec:
38
description: DNSEndpointSpec defines the desired state of DNSEndpoint
39
properties:
40
endpoints:
41
items:
42
description:
43
Endpoint is a high-level way of a connection between
44
a service and an IP
45
properties:
46
dnsName:
47
description: The hostname of the DNS record
48
type: string
49
labels:
50
additionalProperties:
51
type: string
52
description: Labels stores labels defined for the Endpoint
53
type: object
54
providerSpecific:
55
description: ProviderSpecific stores provider specific config
56
items:
57
description:
58
ProviderSpecificProperty holds the name and value
59
of a configuration which is specific to individual DNS providers
60
properties:
61
name:
62
type: string
63
value:
64
type: string
65
type: object
66
type: array
67
recordTTL:
68
description: TTL for the record
69
format: int64
70
type: integer
71
recordType:
72
description:
73
RecordType type of record, e.g. CNAME, A, AAAA,
74
SRV, TXT etc
75
type: string
76
setIdentifier:
77
description:
78
Identifier to distinguish multiple records with
79
the same name and type (e.g. Route53 records with routing
80
policies other than 'simple')
81
type: string
82
targets:
83
description: The targets the DNS record points to
84
items:
85
type: string
86
type: array
87
type: object
88
type: array
89
type: object
90
status:
91
description: DNSEndpointStatus defines the observed state of DNSEndpoint
92
properties:
93
observedGeneration:
94
description: The generation observed by the external-dns controller.
95
format: int64
96
type: integer
97
type: object
98
type: object
99
served: true
100
storage: true
101
subresources:
102
status: {}
103