...

Text file src/edge-infra.dev/test/fixtures/crds/sds/dnsmasq.kvaps.cf_dhcphosts.yaml

Documentation: edge-infra.dev/test/fixtures/crds/sds

     1---
     2apiVersion: apiextensions.k8s.io/v1
     3kind: CustomResourceDefinition
     4metadata:
     5  annotations:
     6    controller-gen.kubebuilder.io/version: (unknown)
     7  name: dhcphosts.dnsmasq.kvaps.cf
     8spec:
     9  group: dnsmasq.kvaps.cf
    10  names:
    11    kind: DhcpHosts
    12    listKind: DhcpHostsList
    13    plural: dhcphosts
    14    singular: dhcphosts
    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: DhcpHosts is the Schema for the dhcphosts 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: DhcpHostsSpec defines the desired state of DhcpHosts
    48            properties:
    49              controller:
    50                type: string
    51              hosts:
    52                items:
    53                  description: DnsmasqDhcpHost holds the mapping between Macs and
    54                    IP that will be added to dnsmasq dhcp-hosts file.
    55                  properties:
    56                    clientID:
    57                      type: string
    58                    hostname:
    59                      type: string
    60                    ignore:
    61                      type: boolean
    62                    ip:
    63                      type: string
    64                    leaseTime:
    65                      type: string
    66                    macs:
    67                      items:
    68                        type: string
    69                      type: array
    70                    setTags:
    71                      items:
    72                        type: string
    73                      type: array
    74                    tags:
    75                      items:
    76                        type: string
    77                      type: array
    78                  type: object
    79                type: array
    80            type: object
    81          status:
    82            description: DhcpHostsStatus defines the observed state of DhcpHosts
    83            type: object
    84        type: object
    85    served: true
    86    storage: true
    87    subresources: {}

View as plain text