...

Text file src/edge-infra.dev/test/fixtures/crds/gcp/compute.cnrm.cloud.google.com_computetargetinstances.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: computetargetinstances.compute.cnrm.cloud.google.com
     8spec:
     9  group: compute.cnrm.cloud.google.com
    10  names:
    11    kind: ComputeTargetInstance
    12    listKind: ComputeTargetInstanceList
    13    plural: computetargetinstances
    14    singular: computetargetinstance
    15  scope: Namespaced
    16  versions:
    17  - name: v1beta1
    18    schema:
    19      openAPIV3Schema:
    20        description: ComputeTargetInstance 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              instanceRef:
    45                description: The ComputeInstance handling traffic for this target
    46                  instance.
    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              natPolicy:
    62                description: |-
    63                  Immutable. NAT option controlling how IPs are NAT'ed to the instance.
    64                  Currently only NO_NAT (default value) is supported. Default value: "NO_NAT" Possible values: ["NO_NAT"].
    65                type: string
    66              networkRef:
    67                description: |-
    68                  The network this target instance uses to forward
    69                  traffic. If not specified, the traffic will be forwarded to the network
    70                  that the default network interface belongs to.
    71                properties:
    72                  external:
    73                    description: The external name of the referenced resource
    74                    type: string
    75                  kind:
    76                    description: Kind of the referent.
    77                    type: string
    78                  name:
    79                    description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
    80                    type: string
    81                  namespace:
    82                    description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
    83                    type: string
    84                type: object
    85              resourceID:
    86                description: Immutable. Optional. The name of the resource. Used for
    87                  creation and acquisition. When unset, the value of `metadata.name`
    88                  is used as the default.
    89                type: string
    90              zone:
    91                description: Immutable. URL of the zone where the target instance
    92                  resides.
    93                type: string
    94            required:
    95            - instanceRef
    96            - zone
    97            type: object
    98          status:
    99            properties:
   100              conditions:
   101                description: |-
   102                  Conditions represent the latest available observations of the
   103                  ComputeTargetInstance's current state.
   104                items:
   105                  properties:
   106                    lastTransitionTime:
   107                      description: Last time the condition transitioned from one status
   108                        to another.
   109                      type: string
   110                    message:
   111                      description: Human-readable message indicating details about
   112                        last transition.
   113                      type: string
   114                    reason:
   115                      description: |-
   116                        Unique, one-word, CamelCase reason for the condition's last
   117                        transition.
   118                      type: string
   119                    status:
   120                      description: Status is the status of the condition. Can be True,
   121                        False, Unknown.
   122                      type: string
   123                    type:
   124                      description: Type is the type of the condition.
   125                      type: string
   126                  type: object
   127                type: array
   128              creationTimestamp:
   129                description: Creation timestamp in RFC3339 text format.
   130                type: string
   131              observedGeneration:
   132                description: ObservedGeneration is the generation of the resource
   133                  that was most recently observed by the Config Connector controller.
   134                  If this is equal to metadata.generation, then that means that the
   135                  current reported status reflects the most recent desired state of
   136                  the resource.
   137                type: integer
   138              selfLink:
   139                type: string
   140            type: object
   141        type: object
   142    served: true
   143    storage: true

View as plain text