...

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

View as plain text