k8c.io/api/v3@v3.0.0-20230904060738-b0a93889c0b6/crd/community/kubermatic.k8c.io_ipamallocations.yaml (about)

     1  # This file has been generated by hack/update-codegen.sh, DO NOT EDIT.
     2  
     3  apiVersion: apiextensions.k8s.io/v1
     4  kind: CustomResourceDefinition
     5  metadata:
     6    annotations:
     7      controller-gen.kubebuilder.io/version: v0.12.0
     8    name: ipamallocations.kubermatic.k8c.io
     9  spec:
    10    group: kubermatic.k8c.io
    11    names:
    12      kind: IPAMAllocation
    13      listKind: IPAMAllocationList
    14      plural: ipamallocations
    15      singular: ipamallocation
    16    scope: Cluster
    17    versions:
    18      - additionalPrinterColumns:
    19          - jsonPath: .spec.cluster.name
    20            name: Cluster
    21            type: string
    22          - jsonPath: .metadata.creationTimestamp
    23            name: Age
    24            type: date
    25        name: v1
    26        schema:
    27          openAPIV3Schema:
    28            description: IPAMAllocation is the object representing an allocation from an IPAMPool made for a particular KKP user cluster.
    29            properties:
    30              apiVersion:
    31                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'
    32                type: string
    33              kind:
    34                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'
    35                type: string
    36              metadata:
    37                type: object
    38              spec:
    39                description: IPAMAllocationSpec specifies an allocation from an IPAMPool made for a particular KKP user cluster.
    40                properties:
    41                  addresses:
    42                    description: Addresses are the IP address ranges that are being used for the allocation. Set when "type=range".
    43                    items:
    44                      type: string
    45                    type: array
    46                  cidr:
    47                    description: CIDR is the CIDR that is being used for the allocation. Set when "type=prefix".
    48                    pattern: ((^((([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5]))/([0-9]|[1-2][0-9]|3[0-2])$)|(^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:))/([0-9]|[0-9][0-9]|1[0-1][0-9]|12[0-8])$))
    49                    type: string
    50                  cluster:
    51                    description: Cluster is the reference to the cluster that this Constraint belongs to.
    52                    properties:
    53                      name:
    54                        description: Name of the Cluster object.
    55                        type: string
    56                    required:
    57                      - name
    58                    type: object
    59                  dc:
    60                    description: DC is the datacenter of the allocation.
    61                    type: string
    62                  type:
    63                    description: Type is the allocation type that is being used.
    64                    enum:
    65                      - prefix
    66                      - range
    67                    type: string
    68                required:
    69                  - cluster
    70                  - dc
    71                  - type
    72                type: object
    73            type: object
    74        served: true
    75        storage: true
    76        subresources: {}