...

Text file src/edge-infra.dev/test/fixtures/crds/gcp/resourcemanager.cnrm.cloud.google.com_folders.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: folders.resourcemanager.cnrm.cloud.google.com
     8spec:
     9  group: resourcemanager.cnrm.cloud.google.com
    10  names:
    11    kind: Folder
    12    listKind: FolderList
    13    plural: folders
    14    singular: folder
    15  scope: Namespaced
    16  versions:
    17  - name: v1beta1
    18    schema:
    19      openAPIV3Schema:
    20        description: Folder 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              displayName:
    42                description: The folder's display name. A folder's display name must
    43                  be unique amongst its siblings, e.g. no two folders with the same
    44                  parent can share the same display name. The display name must start
    45                  and end with a letter or digit, may contain letters, digits, spaces,
    46                  hyphens and underscores and can be no longer than 30 characters.
    47                type: string
    48              folderRef:
    49                description: |-
    50                  The folder that this resource belongs to. Changing this forces the
    51                  resource to be migrated to the newly specified folder. Only one of
    52                  folderRef or organizationRef may be specified.
    53                properties:
    54                  external:
    55                    description: The external name of the referenced resource
    56                    type: string
    57                  kind:
    58                    description: Kind of the referent.
    59                    type: string
    60                  name:
    61                    description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
    62                    type: string
    63                  namespace:
    64                    description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
    65                    type: string
    66                type: object
    67              organizationRef:
    68                description: |-
    69                  The organization that this resource belongs to. Changing this
    70                  forces the resource to be migrated to the newly specified
    71                  organization. Only one of folderRef or organizationRef may be
    72                  specified.
    73                properties:
    74                  external:
    75                    description: The external name of the referenced resource
    76                    type: string
    77                  kind:
    78                    description: Kind of the referent.
    79                    type: string
    80                  name:
    81                    description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
    82                    type: string
    83                  namespace:
    84                    description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
    85                    type: string
    86                type: object
    87              resourceID:
    88                description: Immutable. Optional. The service-generated name of the
    89                  resource. Used for acquisition only. Leave unset to create a new
    90                  resource.
    91                type: string
    92            required:
    93            - displayName
    94            type: object
    95          status:
    96            properties:
    97              conditions:
    98                description: |-
    99                  Conditions represent the latest available observations of the
   100                  Folder's current state.
   101                items:
   102                  properties:
   103                    lastTransitionTime:
   104                      description: Last time the condition transitioned from one status
   105                        to another.
   106                      type: string
   107                    message:
   108                      description: Human-readable message indicating details about
   109                        last transition.
   110                      type: string
   111                    reason:
   112                      description: |-
   113                        Unique, one-word, CamelCase reason for the condition's last
   114                        transition.
   115                      type: string
   116                    status:
   117                      description: Status is the status of the condition. Can be True,
   118                        False, Unknown.
   119                      type: string
   120                    type:
   121                      description: Type is the type of the condition.
   122                      type: string
   123                  type: object
   124                type: array
   125              createTime:
   126                description: 'Timestamp when the Folder was created. Assigned by the
   127                  server. A timestamp in RFC3339 UTC "Zulu" format, accurate to nanoseconds.
   128                  Example: "2014-10-02T15:01:23.045123456Z".'
   129                type: string
   130              folderId:
   131                description: The folder id from the name "folders/{folder_id}".
   132                type: string
   133              lifecycleState:
   134                description: The lifecycle state of the folder such as ACTIVE or DELETE_REQUESTED.
   135                type: string
   136              name:
   137                description: The resource name of the Folder. Its format is folders/{folder_id}.
   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