github.com/cilium/cilium@v1.16.2/pkg/k8s/apis/cilium.io/client/crds/v2alpha1/ciliumbgpclusterconfigs.yaml (about)

     1  ---
     2  apiVersion: apiextensions.k8s.io/v1
     3  kind: CustomResourceDefinition
     4  metadata:
     5    annotations:
     6      controller-gen.kubebuilder.io/version: v0.15.0
     7    creationTimestamp: null
     8    name: ciliumbgpclusterconfigs.cilium.io
     9  spec:
    10    group: cilium.io
    11    names:
    12      categories:
    13      - cilium
    14      - ciliumbgp
    15      kind: CiliumBGPClusterConfig
    16      listKind: CiliumBGPClusterConfigList
    17      plural: ciliumbgpclusterconfigs
    18      shortNames:
    19      - cbgpcluster
    20      singular: ciliumbgpclusterconfig
    21    scope: Cluster
    22    versions:
    23    - additionalPrinterColumns:
    24      - jsonPath: .metadata.creationTimestamp
    25        name: Age
    26        type: date
    27      name: v2alpha1
    28      schema:
    29        openAPIV3Schema:
    30          description: CiliumBGPClusterConfig is the Schema for the CiliumBGPClusterConfig
    31            API
    32          properties:
    33            apiVersion:
    34              description: 'APIVersion defines the versioned schema of this representation
    35                of an object. Servers should convert recognized schemas to the latest
    36                internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
    37              type: string
    38            kind:
    39              description: 'Kind is a string value representing the REST resource this
    40                object represents. Servers may infer this from the endpoint the client
    41                submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
    42              type: string
    43            metadata:
    44              type: object
    45            spec:
    46              description: Spec defines the desired cluster configuration of the BGP
    47                control plane.
    48              properties:
    49                bgpInstances:
    50                  description: A list of CiliumBGPInstance(s) which instructs the BGP
    51                    control plane how to instantiate virtual BGP routers.
    52                  items:
    53                    properties:
    54                      localASN:
    55                        description: LocalASN is the ASN of this BGP instance. Supports
    56                          extended 32bit ASNs.
    57                        format: int64
    58                        maximum: 4294967295
    59                        minimum: 1
    60                        type: integer
    61                      name:
    62                        description: Name is the name of the BGP instance. It is a unique
    63                          identifier for the BGP instance within the cluster configuration.
    64                        maxLength: 255
    65                        minLength: 1
    66                        type: string
    67                      peers:
    68                        description: Peers is a list of neighboring BGP peers for this
    69                          virtual router
    70                        items:
    71                          properties:
    72                            name:
    73                              description: Name is the name of the BGP peer. It is a
    74                                unique identifier for the peer within the BGP instance.
    75                              maxLength: 255
    76                              minLength: 1
    77                              type: string
    78                            peerASN:
    79                              description: PeerASN is the ASN of the peer BGP router.
    80                                Supports extended 32bit ASNs.
    81                              format: int64
    82                              maximum: 4294967295
    83                              minimum: 1
    84                              type: integer
    85                            peerAddress:
    86                              description: PeerAddress is the IP address of the neighbor.
    87                                Supports IPv4 and IPv6 addresses.
    88                              pattern: ((^\s*((([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]))\s*$)|(^\s*((([0-9A-Fa-f]{1,4}:){7}([0-9A-Fa-f]{1,4}|:))|(([0-9A-Fa-f]{1,4}:){6}(:[0-9A-Fa-f]{1,4}|((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){5}(((:[0-9A-Fa-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){4}(((:[0-9A-Fa-f]{1,4}){1,3})|((:[0-9A-Fa-f]{1,4})?:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){3}(((:[0-9A-Fa-f]{1,4}){1,4})|((:[0-9A-Fa-f]{1,4}){0,2}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){2}(((:[0-9A-Fa-f]{1,4}){1,5})|((:[0-9A-Fa-f]{1,4}){0,3}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){1}(((:[0-9A-Fa-f]{1,4}){1,6})|((:[0-9A-Fa-f]{1,4}){0,4}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(:(((:[0-9A-Fa-f]{1,4}){1,7})|((:[0-9A-Fa-f]{1,4}){0,5}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))(%.+)?\s*$))
    89                              type: string
    90                            peerConfigRef:
    91                              description: PeerConfigRef is a reference to a peer configuration
    92                                resource. If not specified, the default BGP configuration
    93                                is used for this peer.
    94                              properties:
    95                                group:
    96                                  default: cilium.io
    97                                  description: Group is the group of the peer config
    98                                    resource. If not specified, the default of "cilium.io"
    99                                    is used.
   100                                  type: string
   101                                kind:
   102                                  default: CiliumBGPPeerConfig
   103                                  description: Kind is the kind of the peer config resource.
   104                                    If not specified, the default of "CiliumBGPPeerConfig"
   105                                    is used.
   106                                  type: string
   107                                name:
   108                                  description: Name is the name of the peer config resource.
   109                                    Name refers to the name of a Kubernetes object (typically
   110                                    a CiliumBGPPeerConfig).
   111                                  type: string
   112                              required:
   113                              - name
   114                              type: object
   115                          required:
   116                          - name
   117                          type: object
   118                        type: array
   119                        x-kubernetes-list-map-keys:
   120                        - name
   121                        x-kubernetes-list-type: map
   122                    required:
   123                    - name
   124                    type: object
   125                  maxItems: 16
   126                  minItems: 1
   127                  type: array
   128                  x-kubernetes-list-map-keys:
   129                  - name
   130                  x-kubernetes-list-type: map
   131                nodeSelector:
   132                  description: NodeSelector selects a group of nodes where this BGP
   133                    Cluster config applies. If empty / nil this config applies to all
   134                    nodes.
   135                  properties:
   136                    matchExpressions:
   137                      description: matchExpressions is a list of label selector requirements.
   138                        The requirements are ANDed.
   139                      items:
   140                        description: A label selector requirement is a selector that
   141                          contains values, a key, and an operator that relates the key
   142                          and values.
   143                        properties:
   144                          key:
   145                            description: key is the label key that the selector applies
   146                              to.
   147                            type: string
   148                          operator:
   149                            description: operator represents a key's relationship to
   150                              a set of values. Valid operators are In, NotIn, Exists
   151                              and DoesNotExist.
   152                            enum:
   153                            - In
   154                            - NotIn
   155                            - Exists
   156                            - DoesNotExist
   157                            type: string
   158                          values:
   159                            description: values is an array of string values. If the
   160                              operator is In or NotIn, the values array must be non-empty.
   161                              If the operator is Exists or DoesNotExist, the values
   162                              array must be empty. This array is replaced during a strategic
   163                              merge patch.
   164                            items:
   165                              type: string
   166                            type: array
   167                            x-kubernetes-list-type: atomic
   168                        required:
   169                        - key
   170                        - operator
   171                        type: object
   172                      type: array
   173                      x-kubernetes-list-type: atomic
   174                    matchLabels:
   175                      additionalProperties:
   176                        description: MatchLabelsValue represents the value from the
   177                          MatchLabels {key,value} pair.
   178                        maxLength: 63
   179                        pattern: ^(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])?$
   180                        type: string
   181                      description: matchLabels is a map of {key,value} pairs. A single
   182                        {key,value} in the matchLabels map is equivalent to an element
   183                        of matchExpressions, whose key field is "key", the operator
   184                        is "In", and the values array contains only "value". The requirements
   185                        are ANDed.
   186                      type: object
   187                  type: object
   188              required:
   189              - bgpInstances
   190              type: object
   191          required:
   192          - metadata
   193          - spec
   194          type: object
   195      served: true
   196      storage: true
   197      subresources: {}
   198  status:
   199    acceptedNames:
   200      kind: ""
   201      plural: ""
   202    conditions: []
   203    storedVersions: []