...

Text file src/edge-infra.dev/test/fixtures/crds/gcp/compute.cnrm.cloud.google.com_computenetworkendpoints.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: computenetworkendpoints.compute.cnrm.cloud.google.com
     8spec:
     9  group: compute.cnrm.cloud.google.com
    10  names:
    11    kind: ComputeNetworkEndpoint
    12    listKind: ComputeNetworkEndpointList
    13    plural: computenetworkendpoints
    14    singular: computenetworkendpoint
    15  scope: Namespaced
    16  versions:
    17  - name: v1alpha1
    18    schema:
    19      openAPIV3Schema:
    20        description: ComputeNetworkEndpoint 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              instanceRef:
    42                properties:
    43                  external:
    44                    description: The external name of the referenced resource
    45                    type: string
    46                  kind:
    47                    description: Kind of the referent.
    48                    type: string
    49                  name:
    50                    description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
    51                    type: string
    52                  namespace:
    53                    description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
    54                    type: string
    55                type: object
    56              ipAddress:
    57                description: |-
    58                  Immutable. IPv4 address of network endpoint. The IP address must belong
    59                  to a VM in GCE (either the primary IP or as part of an aliased IP
    60                  range).
    61                type: string
    62              networkEndpointGroupRef:
    63                properties:
    64                  external:
    65                    description: The external name of the referenced resource
    66                    type: string
    67                  kind:
    68                    description: Kind of the referent.
    69                    type: string
    70                  name:
    71                    description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
    72                    type: string
    73                  namespace:
    74                    description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
    75                    type: string
    76                type: object
    77              projectRef:
    78                description: The project that this resource belongs to.
    79                properties:
    80                  external:
    81                    description: The external name of the referenced resource
    82                    type: string
    83                  kind:
    84                    description: Kind of the referent.
    85                    type: string
    86                  name:
    87                    description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
    88                    type: string
    89                  namespace:
    90                    description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
    91                    type: string
    92                type: object
    93              resourceID:
    94                description: Immutable. Optional. The port of the resource. Used for
    95                  creation and acquisition. When unset, the value of `metadata.name`
    96                  is used as the default.
    97                type: string
    98              zone:
    99                description: Immutable. Zone where the containing network endpoint
   100                  group is located.
   101                type: string
   102            required:
   103            - ipAddress
   104            - networkEndpointGroupRef
   105            - projectRef
   106            - zone
   107            type: object
   108          status:
   109            properties:
   110              conditions:
   111                description: |-
   112                  Conditions represent the latest available observations of the
   113                  ComputeNetworkEndpoint's current state.
   114                items:
   115                  properties:
   116                    lastTransitionTime:
   117                      description: Last time the condition transitioned from one status
   118                        to another.
   119                      type: string
   120                    message:
   121                      description: Human-readable message indicating details about
   122                        last transition.
   123                      type: string
   124                    reason:
   125                      description: |-
   126                        Unique, one-word, CamelCase reason for the condition's last
   127                        transition.
   128                      type: string
   129                    status:
   130                      description: Status is the status of the condition. Can be True,
   131                        False, Unknown.
   132                      type: string
   133                    type:
   134                      description: Type is the type of the condition.
   135                      type: string
   136                  type: object
   137                type: array
   138              observedGeneration:
   139                description: ObservedGeneration is the generation of the resource
   140                  that was most recently observed by the Config Connector controller.
   141                  If this is equal to metadata.generation, then that means that the
   142                  current reported status reflects the most recent desired state of
   143                  the resource.
   144                type: integer
   145            type: object
   146        type: object
   147    served: true
   148    storage: true

View as plain text