...

Text file src/edge-infra.dev/test/fixtures/crds/gcp/compute.cnrm.cloud.google.com_computenetworks.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: computenetworks.compute.cnrm.cloud.google.com
     8spec:
     9  group: compute.cnrm.cloud.google.com
    10  names:
    11    kind: ComputeNetwork
    12    listKind: ComputeNetworkList
    13    plural: computenetworks
    14    singular: computenetwork
    15  scope: Namespaced
    16  versions:
    17  - name: v1beta1
    18    schema:
    19      openAPIV3Schema:
    20        description: ComputeNetwork 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              autoCreateSubnetworks:
    42                description: |-
    43                  Immutable. When set to 'true', the network is created in "auto subnet mode" and
    44                  it will create a subnet for each region automatically across the
    45                  '10.128.0.0/9' address range.
    46
    47
    48                  When set to 'false', the network is created in "custom subnet mode" so
    49                  the user can explicitly connect subnetwork resources.
    50                type: boolean
    51              deleteDefaultRoutesOnCreate:
    52                description: |-
    53                  If set to 'true', default routes ('0.0.0.0/0') will be deleted
    54                  immediately after network creation. Defaults to 'false'.
    55                type: boolean
    56              description:
    57                description: |-
    58                  Immutable. An optional description of this resource. The resource must be
    59                  recreated to modify this field.
    60                type: string
    61              enableUlaInternalIpv6:
    62                description: |-
    63                  Immutable. Enable ULA internal ipv6 on this network. Enabling this feature will assign
    64                  a /48 from google defined ULA prefix fd20::/20.
    65                type: boolean
    66              internalIpv6Range:
    67                description: |-
    68                  Immutable. When enabling ula internal ipv6, caller optionally can specify the /48 range
    69                  they want from the google defined ULA prefix fd20::/20. The input must be a
    70                  valid /48 ULA IPv6 address and must be within the fd20::/20. Operation will
    71                  fail if the speficied /48 is already in used by another resource.
    72                  If the field is not speficied, then a /48 range will be randomly allocated from fd20::/20 and returned via this field.
    73                type: string
    74              mtu:
    75                description: |-
    76                  Immutable. Maximum Transmission Unit in bytes. The default value is 1460 bytes.
    77                  The minimum value for this field is 1300 and the maximum value is 8896 bytes (jumbo frames).
    78                  Note that packets larger than 1500 bytes (standard Ethernet) can be subject to TCP-MSS clamping or dropped
    79                  with an ICMP 'Fragmentation-Needed' message if the packets are routed to the Internet or other VPCs
    80                  with varying MTUs.
    81                type: integer
    82              networkFirewallPolicyEnforcementOrder:
    83                description: 'Set the order that Firewall Rules and Firewall Policies
    84                  are evaluated. Default value: "AFTER_CLASSIC_FIREWALL" Possible
    85                  values: ["BEFORE_CLASSIC_FIREWALL", "AFTER_CLASSIC_FIREWALL"].'
    86                type: string
    87              resourceID:
    88                description: Immutable. Optional. The name of the resource. Used for
    89                  creation and acquisition. When unset, the value of `metadata.name`
    90                  is used as the default.
    91                type: string
    92              routingMode:
    93                description: |-
    94                  The network-wide routing mode to use. If set to 'REGIONAL', this
    95                  network's cloud routers will only advertise routes with subnetworks
    96                  of this network in the same region as the router. If set to 'GLOBAL',
    97                  this network's cloud routers will advertise routes with all
    98                  subnetworks of this network, across regions. Possible values: ["REGIONAL", "GLOBAL"].
    99                type: string
   100            type: object
   101          status:
   102            properties:
   103              conditions:
   104                description: |-
   105                  Conditions represent the latest available observations of the
   106                  ComputeNetwork's current state.
   107                items:
   108                  properties:
   109                    lastTransitionTime:
   110                      description: Last time the condition transitioned from one status
   111                        to another.
   112                      type: string
   113                    message:
   114                      description: Human-readable message indicating details about
   115                        last transition.
   116                      type: string
   117                    reason:
   118                      description: |-
   119                        Unique, one-word, CamelCase reason for the condition's last
   120                        transition.
   121                      type: string
   122                    status:
   123                      description: Status is the status of the condition. Can be True,
   124                        False, Unknown.
   125                      type: string
   126                    type:
   127                      description: Type is the type of the condition.
   128                      type: string
   129                  type: object
   130                type: array
   131              gatewayIpv4:
   132                description: |-
   133                  The gateway address for default routing out of the network. This value
   134                  is selected by GCP.
   135                type: string
   136              observedGeneration:
   137                description: ObservedGeneration is the generation of the resource
   138                  that was most recently observed by the Config Connector controller.
   139                  If this is equal to metadata.generation, then that means that the
   140                  current reported status reflects the most recent desired state of
   141                  the resource.
   142                type: integer
   143              selfLink:
   144                type: string
   145            type: object
   146        type: object
   147    served: true
   148    storage: true

View as plain text