...

Text file src/edge-infra.dev/test/fixtures/crds/gcp/compute.cnrm.cloud.google.com_computeaddresses.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: computeaddresses.compute.cnrm.cloud.google.com
     8spec:
     9  group: compute.cnrm.cloud.google.com
    10  names:
    11    kind: ComputeAddress
    12    listKind: ComputeAddressList
    13    plural: computeaddresses
    14    singular: computeaddress
    15  scope: Namespaced
    16  versions:
    17  - name: v1beta1
    18    schema:
    19      openAPIV3Schema:
    20        description: ComputeAddress 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              address:
    42                description: |-
    43                  Immutable. The static external IP address represented by this resource. Only
    44                  IPv4 is supported. An address may only be specified for INTERNAL
    45                  address types. The IP address must be inside the specified subnetwork,
    46                  if any. Set by the API if undefined.
    47                type: string
    48              addressType:
    49                description: |-
    50                  Immutable. The type of address to reserve.
    51                  Note: if you set this argument's value as 'INTERNAL' you need to leave the 'network_tier' argument unset in that resource block. Default value: "EXTERNAL" Possible values: ["INTERNAL", "EXTERNAL"].
    52                type: string
    53              description:
    54                description: Immutable. An optional description of this resource.
    55                type: string
    56              ipVersion:
    57                description: 'Immutable. The IP Version that will be used by this
    58                  address. The default value is ''IPV4''. Possible values: ["IPV4",
    59                  "IPV6"]. This field can only be specified for a global address.'
    60                type: string
    61              location:
    62                description: 'Location represents the geographical location of the
    63                  ComputeAddress. Specify a region name or "global" for global resources.
    64                  Reference: GCP definition of regions/zones (https://cloud.google.com/compute/docs/regions-zones/)'
    65                type: string
    66              networkRef:
    67                description: |-
    68                  The network in which to reserve the address. If global, the address
    69                  must be within the RFC1918 IP space. The network cannot be deleted
    70                  if there are any reserved IP ranges referring to it. This field can
    71                  only be used with INTERNAL type with the VPC_PEERING and
    72                  IPSEC_INTERCONNECT purposes.
    73                properties:
    74                  external:
    75                    description: The external name of the referenced resource
    76                    type: string
    77                  kind:
    78                    description: Kind of the referent.
    79                    type: string
    80                  name:
    81                    description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
    82                    type: string
    83                  namespace:
    84                    description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
    85                    type: string
    86                type: object
    87              networkTier:
    88                description: |-
    89                  Immutable. The networking tier used for configuring this address. If this field is not
    90                  specified, it is assumed to be PREMIUM.
    91                  This argument should not be used when configuring Internal addresses, because [network tier cannot be set for internal traffic; it's always Premium](https://cloud.google.com/network-tiers/docs/overview). Possible values: ["PREMIUM", "STANDARD"].
    92                type: string
    93              prefixLength:
    94                description: Immutable. The prefix length if the resource represents
    95                  an IP range.
    96                type: integer
    97              purpose:
    98                description: |-
    99                  Immutable. The purpose of this resource, which can be one of the following values.
   100
   101
   102                  * GCE_ENDPOINT for addresses that are used by VM instances, alias IP
   103                  ranges, load balancers, and similar resources.
   104
   105
   106                  * SHARED_LOADBALANCER_VIP for an address that can be used by multiple
   107                  internal load balancers.
   108
   109
   110                  * VPC_PEERING for addresses that are reserved for VPC peer networks.
   111
   112
   113                  * IPSEC_INTERCONNECT for addresses created from a private IP range that
   114                  are reserved for a VLAN attachment in an HA VPN over Cloud Interconnect
   115                  configuration. These addresses are regional resources.
   116
   117
   118                  * PRIVATE_SERVICE_CONNECT for a private network address that is used to
   119                  configure Private Service Connect. Only global internal addresses can use
   120                  this purpose.
   121
   122
   123                  This should only be set when using an Internal address.
   124                type: string
   125              resourceID:
   126                description: Immutable. Optional. The name of the resource. Used for
   127                  creation and acquisition. When unset, the value of `metadata.name`
   128                  is used as the default.
   129                type: string
   130              subnetworkRef:
   131                description: |-
   132                  The subnetwork in which to reserve the address. If an IP address is
   133                  specified, it must be within the subnetwork's IP range.  This field
   134                  can only be used with INTERNAL type with GCE_ENDPOINT/DNS_RESOLVER
   135                  purposes.
   136                properties:
   137                  external:
   138                    description: The external name of the referenced resource
   139                    type: string
   140                  kind:
   141                    description: Kind of the referent.
   142                    type: string
   143                  name:
   144                    description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
   145                    type: string
   146                  namespace:
   147                    description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
   148                    type: string
   149                type: object
   150            required:
   151            - location
   152            type: object
   153          status:
   154            properties:
   155              conditions:
   156                description: |-
   157                  Conditions represent the latest available observations of the
   158                  ComputeAddress's current state.
   159                items:
   160                  properties:
   161                    lastTransitionTime:
   162                      description: Last time the condition transitioned from one status
   163                        to another.
   164                      type: string
   165                    message:
   166                      description: Human-readable message indicating details about
   167                        last transition.
   168                      type: string
   169                    reason:
   170                      description: |-
   171                        Unique, one-word, CamelCase reason for the condition's last
   172                        transition.
   173                      type: string
   174                    status:
   175                      description: Status is the status of the condition. Can be True,
   176                        False, Unknown.
   177                      type: string
   178                    type:
   179                      description: Type is the type of the condition.
   180                      type: string
   181                  type: object
   182                type: array
   183              creationTimestamp:
   184                description: Creation timestamp in RFC3339 text format.
   185                type: string
   186              labelFingerprint:
   187                description: |-
   188                  The fingerprint used for optimistic locking of this resource.  Used
   189                  internally during updates.
   190                type: string
   191              observedGeneration:
   192                description: ObservedGeneration is the generation of the resource
   193                  that was most recently observed by the Config Connector controller.
   194                  If this is equal to metadata.generation, then that means that the
   195                  current reported status reflects the most recent desired state of
   196                  the resource.
   197                type: integer
   198              selfLink:
   199                type: string
   200              users:
   201                description: The URLs of the resources that are using this address.
   202                items:
   203                  type: string
   204                type: array
   205            type: object
   206        type: object
   207    served: true
   208    storage: true

View as plain text