...

Text file src/edge-infra.dev/test/fixtures/crds/gcp/compute.cnrm.cloud.google.com_computeinstancegroupnamedports.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: computeinstancegroupnamedports.compute.cnrm.cloud.google.com
     8spec:
     9  group: compute.cnrm.cloud.google.com
    10  names:
    11    kind: ComputeInstanceGroupNamedPort
    12    listKind: ComputeInstanceGroupNamedPortList
    13    plural: computeinstancegroupnamedports
    14    singular: computeinstancegroupnamedport
    15  scope: Namespaced
    16  versions:
    17  - name: v1alpha1
    18    schema:
    19      openAPIV3Schema:
    20        description: ComputeInstanceGroupNamedPort 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              groupRef:
    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              port:
    57                description: Immutable. The port number, which can be a value between
    58                  1 and 65535.
    59                type: integer
    60              projectRef:
    61                description: The project that this resource belongs to.
    62                properties:
    63                  external:
    64                    description: The external name of the referenced resource
    65                    type: string
    66                  kind:
    67                    description: Kind of the referent.
    68                    type: string
    69                  name:
    70                    description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
    71                    type: string
    72                  namespace:
    73                    description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
    74                    type: string
    75                type: object
    76              resourceID:
    77                description: Immutable. Optional. The name of the resource. Used for
    78                  creation and acquisition. When unset, the value of `metadata.name`
    79                  is used as the default.
    80                type: string
    81              zone:
    82                description: Immutable. The zone of the instance group.
    83                type: string
    84            required:
    85            - groupRef
    86            - port
    87            - projectRef
    88            - zone
    89            type: object
    90          status:
    91            properties:
    92              conditions:
    93                description: |-
    94                  Conditions represent the latest available observations of the
    95                  ComputeInstanceGroupNamedPort's current state.
    96                items:
    97                  properties:
    98                    lastTransitionTime:
    99                      description: Last time the condition transitioned from one status
   100                        to another.
   101                      type: string
   102                    message:
   103                      description: Human-readable message indicating details about
   104                        last transition.
   105                      type: string
   106                    reason:
   107                      description: |-
   108                        Unique, one-word, CamelCase reason for the condition's last
   109                        transition.
   110                      type: string
   111                    status:
   112                      description: Status is the status of the condition. Can be True,
   113                        False, Unknown.
   114                      type: string
   115                    type:
   116                      description: Type is the type of the condition.
   117                      type: string
   118                  type: object
   119                type: array
   120              observedGeneration:
   121                description: ObservedGeneration is the generation of the resource
   122                  that was most recently observed by the Config Connector controller.
   123                  If this is equal to metadata.generation, then that means that the
   124                  current reported status reflects the most recent desired state of
   125                  the resource.
   126                type: integer
   127            type: object
   128        type: object
   129    served: true
   130    storage: true

View as plain text