...

Text file src/edge-infra.dev/test/fixtures/crds/gcp/compute.cnrm.cloud.google.com_computeregiondiskresourcepolicyattachments.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: computeregiondiskresourcepolicyattachments.compute.cnrm.cloud.google.com
     8spec:
     9  group: compute.cnrm.cloud.google.com
    10  names:
    11    kind: ComputeRegionDiskResourcePolicyAttachment
    12    listKind: ComputeRegionDiskResourcePolicyAttachmentList
    13    plural: computeregiondiskresourcepolicyattachments
    14    singular: computeregiondiskresourcepolicyattachment
    15  scope: Namespaced
    16  versions:
    17  - name: v1alpha1
    18    schema:
    19      openAPIV3Schema:
    20        description: ComputeRegionDiskResourcePolicyAttachment is the Schema for the
    21          compute API
    22        properties:
    23          apiVersion:
    24            description: |-
    25              APIVersion defines the versioned schema of this representation of an object.
    26              Servers should convert recognized schemas to the latest internal value, and
    27              may reject unrecognized values.
    28              More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
    29            type: string
    30          kind:
    31            description: |-
    32              Kind is a string value representing the REST resource this object represents.
    33              Servers may infer this from the endpoint the client submits requests to.
    34              Cannot be updated.
    35              In CamelCase.
    36              More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
    37            type: string
    38          metadata:
    39            type: object
    40          spec:
    41            properties:
    42              diskRef:
    43                properties:
    44                  external:
    45                    description: The external name of the referenced resource
    46                    type: string
    47                  kind:
    48                    description: Kind of the referent.
    49                    type: string
    50                  name:
    51                    description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
    52                    type: string
    53                  namespace:
    54                    description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
    55                    type: string
    56                type: object
    57              projectRef:
    58                description: The project that this resource belongs to.
    59                properties:
    60                  external:
    61                    description: The external name of the referenced resource
    62                    type: string
    63                  kind:
    64                    description: Kind of the referent.
    65                    type: string
    66                  name:
    67                    description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
    68                    type: string
    69                  namespace:
    70                    description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
    71                    type: string
    72                type: object
    73              region:
    74                description: Immutable. A reference to the region where the disk resides.
    75                type: string
    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            required:
    82            - diskRef
    83            - projectRef
    84            - region
    85            type: object
    86          status:
    87            properties:
    88              conditions:
    89                description: |-
    90                  Conditions represent the latest available observations of the
    91                  ComputeRegionDiskResourcePolicyAttachment's current state.
    92                items:
    93                  properties:
    94                    lastTransitionTime:
    95                      description: Last time the condition transitioned from one status
    96                        to another.
    97                      type: string
    98                    message:
    99                      description: Human-readable message indicating details about
   100                        last transition.
   101                      type: string
   102                    reason:
   103                      description: |-
   104                        Unique, one-word, CamelCase reason for the condition's last
   105                        transition.
   106                      type: string
   107                    status:
   108                      description: Status is the status of the condition. Can be True,
   109                        False, Unknown.
   110                      type: string
   111                    type:
   112                      description: Type is the type of the condition.
   113                      type: string
   114                  type: object
   115                type: array
   116              observedGeneration:
   117                description: ObservedGeneration is the generation of the resource
   118                  that was most recently observed by the Config Connector controller.
   119                  If this is equal to metadata.generation, then that means that the
   120                  current reported status reflects the most recent desired state of
   121                  the resource.
   122                type: integer
   123            type: object
   124        type: object
   125    served: true
   126    storage: true

View as plain text