...

Text file src/github.com/GoogleCloudPlatform/k8s-config-connector/crds/resourcemanager_v1beta1_project.yaml

Documentation: github.com/GoogleCloudPlatform/k8s-config-connector/crds

     1# Copyright 2020 Google LLC
     2#
     3# Licensed under the Apache License, Version 2.0 (the "License");
     4# you may not use this file except in compliance with the License.
     5# You may obtain a copy of the License at
     6#
     7#     http://www.apache.org/licenses/LICENSE-2.0
     8#
     9# Unless required by applicable law or agreed to in writing, software
    10# distributed under the License is distributed on an "AS IS" BASIS,
    11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    12# See the License for the specific language governing permissions and
    13# limitations under the License.
    14
    15apiVersion: apiextensions.k8s.io/v1
    16kind: CustomResourceDefinition
    17metadata:
    18  annotations:
    19    cnrm.cloud.google.com/version: 1.106.0
    20  creationTimestamp: null
    21  labels:
    22    cnrm.cloud.google.com/managed-by-kcc: "true"
    23    cnrm.cloud.google.com/stability-level: stable
    24    cnrm.cloud.google.com/system: "true"
    25    cnrm.cloud.google.com/tf2crd: "true"
    26  name: projects.resourcemanager.cnrm.cloud.google.com
    27spec:
    28  group: resourcemanager.cnrm.cloud.google.com
    29  names:
    30    categories:
    31    - gcp
    32    kind: Project
    33    plural: projects
    34    shortNames:
    35    - gcpproject
    36    - gcpprojects
    37    singular: project
    38  scope: Namespaced
    39  versions:
    40  - additionalPrinterColumns:
    41    - jsonPath: .metadata.creationTimestamp
    42      name: Age
    43      type: date
    44    - description: When 'True', the most recent reconcile of the resource succeeded
    45      jsonPath: .status.conditions[?(@.type=='Ready')].status
    46      name: Ready
    47      type: string
    48    - description: The reason for the value in 'Ready'
    49      jsonPath: .status.conditions[?(@.type=='Ready')].reason
    50      name: Status
    51      type: string
    52    - description: The last transition time for the value in 'Status'
    53      jsonPath: .status.conditions[?(@.type=='Ready')].lastTransitionTime
    54      name: Status Age
    55      type: date
    56    name: v1beta1
    57    schema:
    58      openAPIV3Schema:
    59        properties:
    60          apiVersion:
    61            description: 'apiVersion defines the versioned schema of this representation
    62              of an object. Servers should convert recognized schemas to the latest
    63              internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources'
    64            type: string
    65          kind:
    66            description: 'kind is a string value representing the REST resource this
    67              object represents. Servers may infer this from the endpoint the client
    68              submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds'
    69            type: string
    70          metadata:
    71            type: object
    72          spec:
    73            oneOf:
    74            - required:
    75              - folderRef
    76            - required:
    77              - organizationRef
    78            - not:
    79                anyOf:
    80                - required:
    81                  - folderRef
    82                - required:
    83                  - organizationRef
    84            properties:
    85              billingAccountRef:
    86                oneOf:
    87                - not:
    88                    required:
    89                    - external
    90                  required:
    91                  - name
    92                - not:
    93                    anyOf:
    94                    - required:
    95                      - name
    96                    - required:
    97                      - namespace
    98                  required:
    99                  - external
   100                properties:
   101                  external:
   102                    description: 'Allowed value: The `name` field of a `BillingAccount`
   103                      resource.'
   104                    type: string
   105                  name:
   106                    description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
   107                    type: string
   108                  namespace:
   109                    description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
   110                    type: string
   111                type: object
   112              folderRef:
   113                description: |-
   114                  The folder that this resource belongs to. Changing this forces the
   115                  resource to be migrated to the newly specified folder. Only one of
   116                  folderRef or organizationRef may be specified.
   117                oneOf:
   118                - not:
   119                    required:
   120                    - external
   121                  required:
   122                  - name
   123                - not:
   124                    anyOf:
   125                    - required:
   126                      - name
   127                    - required:
   128                      - namespace
   129                  required:
   130                  - external
   131                properties:
   132                  external:
   133                    description: 'Allowed value: The `folderId` field of a `Folder`
   134                      resource.'
   135                    type: string
   136                  name:
   137                    description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
   138                    type: string
   139                  namespace:
   140                    description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
   141                    type: string
   142                type: object
   143              name:
   144                description: The display name of the project.
   145                type: string
   146              organizationRef:
   147                description: |-
   148                  The organization that this resource belongs to. Changing this
   149                  forces the resource to be migrated to the newly specified
   150                  organization. Only one of folderRef or organizationRef may be
   151                  specified.
   152                oneOf:
   153                - not:
   154                    required:
   155                    - external
   156                  required:
   157                  - name
   158                - not:
   159                    anyOf:
   160                    - required:
   161                      - name
   162                    - required:
   163                      - namespace
   164                  required:
   165                  - external
   166                properties:
   167                  external:
   168                    description: 'Allowed value: The `name` field of an `Organization`
   169                      resource.'
   170                    type: string
   171                  name:
   172                    description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
   173                    type: string
   174                  namespace:
   175                    description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
   176                    type: string
   177                type: object
   178              resourceID:
   179                description: Immutable. Optional. The projectId of the resource. Used
   180                  for creation and acquisition. When unset, the value of `metadata.name`
   181                  is used as the default.
   182                type: string
   183            required:
   184            - name
   185            type: object
   186          status:
   187            properties:
   188              conditions:
   189                description: Conditions represent the latest available observation
   190                  of the resource's current state.
   191                items:
   192                  properties:
   193                    lastTransitionTime:
   194                      description: Last time the condition transitioned from one status
   195                        to another.
   196                      type: string
   197                    message:
   198                      description: Human-readable message indicating details about
   199                        last transition.
   200                      type: string
   201                    reason:
   202                      description: Unique, one-word, CamelCase reason for the condition's
   203                        last transition.
   204                      type: string
   205                    status:
   206                      description: Status is the status of the condition. Can be True,
   207                        False, Unknown.
   208                      type: string
   209                    type:
   210                      description: Type is the type of the condition.
   211                      type: string
   212                  type: object
   213                type: array
   214              number:
   215                description: The numeric identifier of the project.
   216                type: string
   217              observedGeneration:
   218                description: ObservedGeneration is the generation of the resource
   219                  that was most recently observed by the Config Connector controller.
   220                  If this is equal to metadata.generation, then that means that the
   221                  current reported status reflects the most recent desired state of
   222                  the resource.
   223                type: integer
   224            type: object
   225        required:
   226        - spec
   227        type: object
   228    served: true
   229    storage: true
   230    subresources:
   231      status: {}
   232status:
   233  acceptedNames:
   234    kind: ""
   235    plural: ""
   236  conditions: []
   237  storedVersions: []

View as plain text