...
1---
2apiVersion: apiextensions.k8s.io/v1
3kind: CustomResourceDefinition
4metadata:
5 annotations:
6 controller-gen.kubebuilder.io/version: (unknown)
7 name: dnshosts.dnsmasq.kvaps.cf
8spec:
9 group: dnsmasq.kvaps.cf
10 names:
11 kind: DnsHosts
12 listKind: DnsHostsList
13 plural: dnshosts
14 singular: dnshosts
15 scope: Namespaced
16 versions:
17 - additionalPrinterColumns:
18 - jsonPath: .spec.controller
19 name: Controller
20 type: string
21 - jsonPath: .metadata.creationTimestamp
22 name: Age
23 type: date
24 name: v1beta1
25 schema:
26 openAPIV3Schema:
27 description: DnsHosts is the Schema for the dnshosts API
28 properties:
29 apiVersion:
30 description: |-
31 APIVersion defines the versioned schema of this representation of an object.
32 Servers should convert recognized schemas to the latest internal value, and
33 may reject unrecognized values.
34 More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
35 type: string
36 kind:
37 description: |-
38 Kind is a string value representing the REST resource this object represents.
39 Servers may infer this from the endpoint the client submits requests to.
40 Cannot be updated.
41 In CamelCase.
42 More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
43 type: string
44 metadata:
45 type: object
46 spec:
47 description: DnsHostsSpec defines the desired state of DnsHosts
48 properties:
49 controller:
50 type: string
51 hosts:
52 items:
53 description: DnsHost holds the mapping between IP and hostnames
54 that will be added to dnsmasq hosts file.
55 properties:
56 hostnames:
57 description: Hostnames for the above IP address.
58 items:
59 type: string
60 type: array
61 ip:
62 description: IP address of the host file entry.
63 type: string
64 required:
65 - ip
66 type: object
67 type: array
68 type: object
69 status:
70 description: DnsHostsStatus defines the observed state of DnsHosts
71 type: object
72 type: object
73 served: true
74 storage: true
75 subresources: {}
View as plain text