...

Text file src/edge-infra.dev/test/fixtures/crds/gcp/compute.cnrm.cloud.google.com_computevpngateways.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: computevpngateways.compute.cnrm.cloud.google.com
     8spec:
     9  group: compute.cnrm.cloud.google.com
    10  names:
    11    kind: ComputeVPNGateway
    12    listKind: ComputeVPNGatewayList
    13    plural: computevpngateways
    14    singular: computevpngateway
    15  scope: Namespaced
    16  versions:
    17  - name: v1beta1
    18    schema:
    19      openAPIV3Schema:
    20        description: ComputeVPNGateway 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              description:
    42                description: Immutable. An optional description of this resource.
    43                type: string
    44              networkRef:
    45                description: The network this VPN gateway is accepting traffic for.
    46                properties:
    47                  external:
    48                    description: The external name of the referenced resource
    49                    type: string
    50                  kind:
    51                    description: Kind of the referent.
    52                    type: string
    53                  name:
    54                    description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
    55                    type: string
    56                  namespace:
    57                    description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
    58                    type: string
    59                type: object
    60              region:
    61                description: Immutable. The region this gateway should sit in.
    62                type: string
    63              resourceID:
    64                description: Immutable. Optional. The name of the resource. Used for
    65                  creation and acquisition. When unset, the value of `metadata.name`
    66                  is used as the default.
    67                type: string
    68              stackType:
    69                description: |-
    70                  Immutable. The stack type for this VPN gateway to identify the IP protocols that are enabled.
    71                  If not specified, IPV4_ONLY will be used. Default value: "IPV4_ONLY" Possible values: ["IPV4_ONLY", "IPV4_IPV6"].
    72                type: string
    73              vpnInterfaces:
    74                description: Immutable. A list of interfaces on this VPN gateway.
    75                items:
    76                  properties:
    77                    id:
    78                      description: Immutable. The numeric ID of this VPN gateway interface.
    79                      type: integer
    80                    interconnectAttachmentRef:
    81                      description: |-
    82                        Immutable. When this value is present, the VPN Gateway will be used
    83                        for IPsec-encrypted Cloud Interconnect; all Egress or Ingress
    84                        traffic for this VPN Gateway interface will go through the specified
    85                        interconnect attachment resource. Not currently available publicly.
    86                      properties:
    87                        external:
    88                          description: The external name of the referenced resource
    89                          type: string
    90                        kind:
    91                          description: Kind of the referent.
    92                          type: string
    93                        name:
    94                          description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
    95                          type: string
    96                        namespace:
    97                          description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
    98                          type: string
    99                      type: object
   100                    ipAddress:
   101                      description: The external IP address for this VPN gateway interface.
   102                      type: string
   103                  type: object
   104                type: array
   105            required:
   106            - networkRef
   107            - region
   108            type: object
   109          status:
   110            properties:
   111              conditions:
   112                description: |-
   113                  Conditions represent the latest available observations of the
   114                  ComputeVPNGateway's current state.
   115                items:
   116                  properties:
   117                    lastTransitionTime:
   118                      description: Last time the condition transitioned from one status
   119                        to another.
   120                      type: string
   121                    message:
   122                      description: Human-readable message indicating details about
   123                        last transition.
   124                      type: string
   125                    reason:
   126                      description: |-
   127                        Unique, one-word, CamelCase reason for the condition's last
   128                        transition.
   129                      type: string
   130                    status:
   131                      description: Status is the status of the condition. Can be True,
   132                        False, Unknown.
   133                      type: string
   134                    type:
   135                      description: Type is the type of the condition.
   136                      type: string
   137                  type: object
   138                type: array
   139              observedGeneration:
   140                description: ObservedGeneration is the generation of the resource
   141                  that was most recently observed by the Config Connector controller.
   142                  If this is equal to metadata.generation, then that means that the
   143                  current reported status reflects the most recent desired state of
   144                  the resource.
   145                type: integer
   146              selfLink:
   147                type: string
   148            type: object
   149        type: object
   150    served: true
   151    storage: true

View as plain text