github.com/cilium/cilium@v1.16.2/pkg/k8s/apis/cilium.io/client/crds/v2alpha1/ciliumbgppeerconfigs.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: ciliumbgppeerconfigs.cilium.io
     9  spec:
    10    group: cilium.io
    11    names:
    12      categories:
    13      - cilium
    14      - ciliumbgp
    15      kind: CiliumBGPPeerConfig
    16      listKind: CiliumBGPPeerConfigList
    17      plural: ciliumbgppeerconfigs
    18      shortNames:
    19      - cbgppeer
    20      singular: ciliumbgppeerconfig
    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          properties:
    31            apiVersion:
    32              description: 'APIVersion defines the versioned schema of this representation
    33                of an object. Servers should convert recognized schemas to the latest
    34                internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
    35              type: string
    36            kind:
    37              description: 'Kind is a string value representing the REST resource this
    38                object represents. Servers may infer this from the endpoint the client
    39                submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
    40              type: string
    41            metadata:
    42              type: object
    43            spec:
    44              description: Spec is the specification of the desired behavior of the
    45                CiliumBGPPeerConfig.
    46              properties:
    47                authSecretRef:
    48                  description: "AuthSecretRef is the name of the secret to use to fetch
    49                    a TCP authentication password for this peer. \n If not specified,
    50                    no authentication is used."
    51                  type: string
    52                ebgpMultihop:
    53                  default: 1
    54                  description: "EBGPMultihopTTL controls the multi-hop feature for eBGP
    55                    peers. Its value defines the Time To Live (TTL) value used in BGP
    56                    packets sent to the peer. \n If not specified, EBGP multihop is
    57                    disabled. This field is ignored for iBGP neighbors."
    58                  format: int32
    59                  maximum: 255
    60                  minimum: 1
    61                  type: integer
    62                families:
    63                  description: "Families, if provided, defines a set of AFI/SAFIs the
    64                    speaker will negotiate with it's peer. \n If not specified, the
    65                    default families of IPv6/unicast and IPv4/unicast will be created."
    66                  items:
    67                    description: CiliumBGPFamilyWithAdverts represents a AFI/SAFI address
    68                      family pair along with reference to BGP Advertisements.
    69                    properties:
    70                      advertisements:
    71                        description: "Advertisements selects group of BGP Advertisement(s)
    72                          to advertise for this family. \n If not specified, no advertisements
    73                          are sent for this family. \n This field is ignored in CiliumBGPNeighbor
    74                          which is used in CiliumBGPPeeringPolicy. Use CiliumBGPPeeringPolicy
    75                          advertisement options instead."
    76                        properties:
    77                          matchExpressions:
    78                            description: matchExpressions is a list of label selector
    79                              requirements. The requirements are ANDed.
    80                            items:
    81                              description: A label selector requirement is a selector
    82                                that contains values, a key, and an operator that relates
    83                                the key and values.
    84                              properties:
    85                                key:
    86                                  description: key is the label key that the selector
    87                                    applies to.
    88                                  type: string
    89                                operator:
    90                                  description: operator represents a key's relationship
    91                                    to a set of values. Valid operators are In, NotIn,
    92                                    Exists and DoesNotExist.
    93                                  enum:
    94                                  - In
    95                                  - NotIn
    96                                  - Exists
    97                                  - DoesNotExist
    98                                  type: string
    99                                values:
   100                                  description: values is an array of string values.
   101                                    If the operator is In or NotIn, the values array
   102                                    must be non-empty. If the operator is Exists or
   103                                    DoesNotExist, the values array must be empty. This
   104                                    array is replaced during a strategic merge patch.
   105                                  items:
   106                                    type: string
   107                                  type: array
   108                                  x-kubernetes-list-type: atomic
   109                              required:
   110                              - key
   111                              - operator
   112                              type: object
   113                            type: array
   114                            x-kubernetes-list-type: atomic
   115                          matchLabels:
   116                            additionalProperties:
   117                              description: MatchLabelsValue represents the value from
   118                                the MatchLabels {key,value} pair.
   119                              maxLength: 63
   120                              pattern: ^(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])?$
   121                              type: string
   122                            description: matchLabels is a map of {key,value} pairs.
   123                              A single {key,value} in the matchLabels map is equivalent
   124                              to an element of matchExpressions, whose key field is
   125                              "key", the operator is "In", and the values array contains
   126                              only "value". The requirements are ANDed.
   127                            type: object
   128                        type: object
   129                      afi:
   130                        description: Afi is the Address Family Identifier (AFI) of the
   131                          family.
   132                        enum:
   133                        - ipv4
   134                        - ipv6
   135                        - l2vpn
   136                        - ls
   137                        - opaque
   138                        type: string
   139                      safi:
   140                        description: Safi is the Subsequent Address Family Identifier
   141                          (SAFI) of the family.
   142                        enum:
   143                        - unicast
   144                        - multicast
   145                        - mpls_label
   146                        - encapsulation
   147                        - vpls
   148                        - evpn
   149                        - ls
   150                        - sr_policy
   151                        - mup
   152                        - mpls_vpn
   153                        - mpls_vpn_multicast
   154                        - route_target_constraints
   155                        - flowspec_unicast
   156                        - flowspec_vpn
   157                        - key_value
   158                        type: string
   159                    required:
   160                    - afi
   161                    - safi
   162                    type: object
   163                  type: array
   164                gracefulRestart:
   165                  description: "GracefulRestart defines graceful restart parameters
   166                    which are negotiated with this peer. \n If not specified, the graceful
   167                    restart capability is disabled."
   168                  properties:
   169                    enabled:
   170                      description: Enabled flag, when set enables graceful restart capability.
   171                      type: boolean
   172                    restartTimeSeconds:
   173                      default: 120
   174                      description: RestartTimeSeconds is the estimated time it will
   175                        take for the BGP session to be re-established with peer after
   176                        a restart. After this period, peer will remove stale routes.
   177                        This is described RFC 4724 section 4.2.
   178                      format: int32
   179                      maximum: 4095
   180                      minimum: 1
   181                      type: integer
   182                  required:
   183                  - enabled
   184                  type: object
   185                timers:
   186                  description: "Timers defines the BGP timers for the peer. \n If not
   187                    specified, the default timers are used."
   188                  properties:
   189                    connectRetryTimeSeconds:
   190                      default: 120
   191                      description: "ConnectRetryTimeSeconds defines the initial value
   192                        for the BGP ConnectRetryTimer (RFC 4271, Section 8). \n If not
   193                        specified, defaults to 120 seconds."
   194                      format: int32
   195                      maximum: 2147483647
   196                      minimum: 1
   197                      type: integer
   198                    holdTimeSeconds:
   199                      default: 90
   200                      description: "HoldTimeSeconds defines the initial value for the
   201                        BGP HoldTimer (RFC 4271, Section 4.2). Updating this value will
   202                        cause a session reset. \n If not specified, defaults to 90 seconds."
   203                      format: int32
   204                      maximum: 65535
   205                      minimum: 3
   206                      type: integer
   207                    keepAliveTimeSeconds:
   208                      default: 30
   209                      description: "KeepaliveTimeSeconds defines the initial value for
   210                        the BGP KeepaliveTimer (RFC 4271, Section 8). It can not be
   211                        larger than HoldTimeSeconds. Updating this value will cause
   212                        a session reset. \n If not specified, defaults to 30 seconds."
   213                      format: int32
   214                      maximum: 65535
   215                      minimum: 1
   216                      type: integer
   217                  type: object
   218                transport:
   219                  description: "Transport defines the BGP transport parameters for the
   220                    peer. \n If not specified, the default transport parameters are
   221                    used."
   222                  properties:
   223                    localPort:
   224                      description: "Deprecated LocalPort is the local port to be used
   225                        for the BGP session. \n If not specified, ephemeral port will
   226                        be picked to initiate a connection. \n This field is deprecated
   227                        and will be removed in a future release. Local port configuration
   228                        is unnecessary and is not recommended."
   229                      format: int32
   230                      maximum: 65535
   231                      minimum: 1
   232                      type: integer
   233                    peerPort:
   234                      default: 179
   235                      description: "PeerPort is the peer port to be used for the BGP
   236                        session. \n If not specified, defaults to TCP port 179."
   237                      format: int32
   238                      maximum: 65535
   239                      minimum: 1
   240                      type: integer
   241                  type: object
   242              type: object
   243          required:
   244          - metadata
   245          - spec
   246          type: object
   247      served: true
   248      storage: true
   249      subresources: {}
   250  status:
   251    acceptedNames:
   252      kind: ""
   253      plural: ""
   254    conditions: []
   255    storedVersions: []