...

Text file src/edge-infra.dev/test/fixtures/crds/gcp/compute.cnrm.cloud.google.com_computeinterconnectattachments.yaml

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

     1---
     2apiVersion: apiextensions.k8s.io/v1
     3kind: CustomResourceDefinition
     4metadata:
     5  annotations:
     6    controller-gen.kubebuilder.io/version: (unknown)
     7  name: computeinterconnectattachments.compute.cnrm.cloud.google.com
     8spec:
     9  group: compute.cnrm.cloud.google.com
    10  names:
    11    kind: ComputeInterconnectAttachment
    12    listKind: ComputeInterconnectAttachmentList
    13    plural: computeinterconnectattachments
    14    singular: computeinterconnectattachment
    15  scope: Namespaced
    16  versions:
    17  - name: v1beta1
    18    schema:
    19      openAPIV3Schema:
    20        description: ComputeInterconnectAttachment is the Schema for the compute API
    21        properties:
    22          apiVersion:
    23            description: |-
    24              APIVersion defines the versioned schema of this representation of an object.
    25              Servers should convert recognized schemas to the latest internal value, and
    26              may reject unrecognized values.
    27              More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
    28            type: string
    29          kind:
    30            description: |-
    31              Kind is a string value representing the REST resource this object represents.
    32              Servers may infer this from the endpoint the client submits requests to.
    33              Cannot be updated.
    34              In CamelCase.
    35              More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
    36            type: string
    37          metadata:
    38            type: object
    39          spec:
    40            properties:
    41              adminEnabled:
    42                description: |-
    43                  Whether the VLAN attachment is enabled or disabled.  When using
    44                  PARTNER type this will Pre-Activate the interconnect attachment.
    45                type: boolean
    46              bandwidth:
    47                description: |-
    48                  Provisioned bandwidth capacity for the interconnect attachment.
    49                  For attachments of type DEDICATED, the user can set the bandwidth.
    50                  For attachments of type PARTNER, the Google Partner that is operating the interconnect must set the bandwidth.
    51                  Output only for PARTNER type, mutable for PARTNER_PROVIDER and DEDICATED,
    52                  Defaults to BPS_10G Possible values: ["BPS_50M", "BPS_100M", "BPS_200M", "BPS_300M", "BPS_400M", "BPS_500M", "BPS_1G", "BPS_2G", "BPS_5G", "BPS_10G", "BPS_20G", "BPS_50G"].
    53                type: string
    54              candidateSubnets:
    55                description: |-
    56                  Immutable. Up to 16 candidate prefixes that can be used to restrict the allocation
    57                  of cloudRouterIpAddress and customerRouterIpAddress for this attachment.
    58                  All prefixes must be within link-local address space (169.254.0.0/16)
    59                  and must be /29 or shorter (/28, /27, etc). Google will attempt to select
    60                  an unused /29 from the supplied candidate prefix(es). The request will
    61                  fail if all possible /29s are in use on Google's edge. If not supplied,
    62                  Google will randomly select an unused /29 from all of link-local space.
    63                items:
    64                  type: string
    65                type: array
    66              description:
    67                description: An optional description of this resource.
    68                type: string
    69              edgeAvailabilityDomain:
    70                description: |-
    71                  Immutable. Desired availability domain for the attachment. Only available for type
    72                  PARTNER, at creation time. For improved reliability, customers should
    73                  configure a pair of attachments with one per availability domain. The
    74                  selected availability domain will be provided to the Partner via the
    75                  pairing key so that the provisioned circuit will lie in the specified
    76                  domain. If not specified, the value will default to AVAILABILITY_DOMAIN_ANY.
    77                type: string
    78              encryption:
    79                description: |-
    80                  Immutable. Indicates the user-supplied encryption option of this interconnect
    81                  attachment. Can only be specified at attachment creation for PARTNER or
    82                  DEDICATED attachments.
    83
    84
    85                  * NONE - This is the default value, which means that the VLAN attachment
    86                  carries unencrypted traffic. VMs are able to send traffic to, or receive
    87                  traffic from, such a VLAN attachment.
    88
    89
    90                  * IPSEC - The VLAN attachment carries only encrypted traffic that is
    91                  encrypted by an IPsec device, such as an HA VPN gateway or third-party
    92                  IPsec VPN. VMs cannot directly send traffic to, or receive traffic from,
    93                  such a VLAN attachment. To use HA VPN over Cloud Interconnect, the VLAN
    94                  attachment must be created with this option. Default value: "NONE" Possible values: ["NONE", "IPSEC"].
    95                type: string
    96              interconnect:
    97                description: |-
    98                  Immutable. URL of the underlying Interconnect object that this attachment's
    99                  traffic will traverse through. Required if type is DEDICATED, must not
   100                  be set if type is PARTNER.
   101                type: string
   102              ipsecInternalAddresses:
   103                items:
   104                  properties:
   105                    external:
   106                      description: The external name of the referenced resource
   107                      type: string
   108                    kind:
   109                      description: Kind of the referent.
   110                      type: string
   111                    name:
   112                      description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
   113                      type: string
   114                    namespace:
   115                      description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
   116                      type: string
   117                  type: object
   118                type: array
   119              mtu:
   120                description: |-
   121                  Maximum Transmission Unit (MTU), in bytes, of packets passing through
   122                  this interconnect attachment. Currently, only 1440 and 1500 are allowed. If not specified, the value will default to 1440.
   123                type: string
   124              region:
   125                description: Region where the regional interconnect attachment resides.
   126                type: string
   127              resourceID:
   128                description: Immutable. Optional. The name of the resource. Used for
   129                  creation and acquisition. When unset, the value of `metadata.name`
   130                  is used as the default.
   131                type: string
   132              routerRef:
   133                description: |-
   134                  The Cloud Router to be used for dynamic routing. This router must
   135                  be in the same region as this ComputeInterconnectAttachment. The
   136                  ComputeInterconnectAttachment will automatically connect the
   137                  interconnect to the network & region within which the Cloud Router
   138                  is configured.
   139                properties:
   140                  external:
   141                    description: The external name of the referenced resource
   142                    type: string
   143                  kind:
   144                    description: Kind of the referent.
   145                    type: string
   146                  name:
   147                    description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
   148                    type: string
   149                  namespace:
   150                    description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
   151                    type: string
   152                type: object
   153              type:
   154                description: |-
   155                  Immutable. The type of InterconnectAttachment you wish to create. Defaults to
   156                  DEDICATED. Possible values: ["DEDICATED", "PARTNER", "PARTNER_PROVIDER"].
   157                type: string
   158              vlanTag8021q:
   159                description: |-
   160                  Immutable. The IEEE 802.1Q VLAN tag for this attachment, in the range 2-4094. When
   161                  using PARTNER type this will be managed upstream.
   162                type: integer
   163            required:
   164            - region
   165            - routerRef
   166            type: object
   167          status:
   168            properties:
   169              cloudRouterIpAddress:
   170                description: |-
   171                  IPv4 address + prefix length to be configured on Cloud Router
   172                  Interface for this interconnect attachment.
   173                type: string
   174              conditions:
   175                description: |-
   176                  Conditions represent the latest available observations of the
   177                  ComputeInterconnectAttachment's current state.
   178                items:
   179                  properties:
   180                    lastTransitionTime:
   181                      description: Last time the condition transitioned from one status
   182                        to another.
   183                      type: string
   184                    message:
   185                      description: Human-readable message indicating details about
   186                        last transition.
   187                      type: string
   188                    reason:
   189                      description: |-
   190                        Unique, one-word, CamelCase reason for the condition's last
   191                        transition.
   192                      type: string
   193                    status:
   194                      description: Status is the status of the condition. Can be True,
   195                        False, Unknown.
   196                      type: string
   197                    type:
   198                      description: Type is the type of the condition.
   199                      type: string
   200                  type: object
   201                type: array
   202              creationTimestamp:
   203                description: Creation timestamp in RFC3339 text format.
   204                type: string
   205              customerRouterIpAddress:
   206                description: |-
   207                  IPv4 address + prefix length to be configured on the customer
   208                  router subinterface for this interconnect attachment.
   209                type: string
   210              googleReferenceId:
   211                description: |-
   212                  Google reference ID, to be used when raising support tickets with
   213                  Google or otherwise to debug backend connectivity issues.
   214                type: string
   215              observedGeneration:
   216                description: ObservedGeneration is the generation of the resource
   217                  that was most recently observed by the Config Connector controller.
   218                  If this is equal to metadata.generation, then that means that the
   219                  current reported status reflects the most recent desired state of
   220                  the resource.
   221                type: integer
   222              pairingKey:
   223                description: |-
   224                  [Output only for type PARTNER. Not present for DEDICATED]. The opaque
   225                  identifier of an PARTNER attachment used to initiate provisioning with
   226                  a selected partner. Of the form "XXXXX/region/domain".
   227                type: string
   228              partnerAsn:
   229                description: |-
   230                  [Output only for type PARTNER. Not present for DEDICATED]. Optional
   231                  BGP ASN for the router that should be supplied by a layer 3 Partner if
   232                  they configured BGP on behalf of the customer.
   233                type: string
   234              privateInterconnectInfo:
   235                description: |-
   236                  Information specific to an InterconnectAttachment. This property
   237                  is populated if the interconnect that this is attached to is of type DEDICATED.
   238                properties:
   239                  tag8021q:
   240                    description: |-
   241                      802.1q encapsulation tag to be used for traffic between
   242                      Google and the customer, going to and from this network and region.
   243                    type: integer
   244                type: object
   245              selfLink:
   246                type: string
   247              state:
   248                description: '[Output Only] The current state of this attachment''s
   249                  functionality.'
   250                type: string
   251            type: object
   252        type: object
   253    served: true
   254    storage: true

View as plain text