k8c.io/api/v3@v3.0.0-20230904060738-b0a93889c0b6/crd/enterprise/kcp/ee.kubermatic.k8c.io_ipampools.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: ipampools.ee.kubermatic.k8c.io
     9  spec:
    10    group: ee.kubermatic.k8c.io
    11    names:
    12      kind: IPAMPool
    13      listKind: IPAMPoolList
    14      plural: ipampools
    15      singular: ipampool
    16    scope: Cluster
    17    versions:
    18      - additionalPrinterColumns:
    19          - jsonPath: .metadata.creationTimestamp
    20            name: Age
    21            type: date
    22        name: v1
    23        schema:
    24          openAPIV3Schema:
    25            description: IPAMPool is the object representing Multi-Cluster IP Address Management (IPAM) configuration for KKP user clusters.
    26            properties:
    27              apiVersion:
    28                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'
    29                type: string
    30              kind:
    31                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'
    32                type: string
    33              metadata:
    34                type: object
    35              spec:
    36                description: IPAMPoolSpec specifies the  Multi-Cluster IP Address Management (IPAM) configuration for KKP user clusters.
    37                properties:
    38                  datacenters:
    39                    additionalProperties:
    40                      description: IPAMPoolDatacenterSettings contains IPAM Pool configuration for a datacenter.
    41                      properties:
    42                        allocationPrefix:
    43                          description: AllocationPrefix is the prefix for the allocation. Used when "type=prefix".
    44                          maximum: 128
    45                          minimum: 1
    46                          type: integer
    47                        allocationRange:
    48                          description: AllocationRange is the range for the allocation. Used when "type=range".
    49                          minimum: 1
    50                          type: integer
    51                        excludePrefixes:
    52                          description: 'Optional: ExcludePrefixes is used to exclude particular subnets for the allocation. NOTE: must be the same length as allocationPrefix. Can be used when "type=prefix".'
    53                          items:
    54                            description: SubnetCIDR is used to store IPv4/IPv6 CIDR.
    55                            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])$))
    56                            type: string
    57                          type: array
    58                        excludeRanges:
    59                          description: 'Optional: ExcludeRanges is used to exclude particular IPs or IP ranges for the allocation. Examples: "192.168.1.100-192.168.1.110", "192.168.1.255". Can be used when "type=range".'
    60                          items:
    61                            type: string
    62                          type: array
    63                        poolCidr:
    64                          description: PoolCIDR is the pool CIDR to be used for the allocation.
    65                          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])$))
    66                          type: string
    67                        type:
    68                          description: Type is the allocation type to be used.
    69                          enum:
    70                            - prefix
    71                            - range
    72                          type: string
    73                      required:
    74                        - poolCidr
    75                        - type
    76                      type: object
    77                    description: Datacenters contains a map of datacenters (DCs) for the allocation.
    78                    type: object
    79                required:
    80                  - datacenters
    81                type: object
    82            type: object
    83        served: true
    84        storage: true
    85        subresources: {}