...

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

View as plain text