...

Text file src/github.com/GoogleCloudPlatform/k8s-config-connector/crds/datastore_v1alpha1_datastoreindex.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: alpha
    24    cnrm.cloud.google.com/system: "true"
    25    cnrm.cloud.google.com/tf2crd: "true"
    26  name: datastoreindexes.datastore.cnrm.cloud.google.com
    27spec:
    28  group: datastore.cnrm.cloud.google.com
    29  names:
    30    categories:
    31    - gcp
    32    kind: DatastoreIndex
    33    plural: datastoreindexes
    34    shortNames:
    35    - gcpdatastoreindex
    36    - gcpdatastoreindexes
    37    singular: datastoreindex
    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: v1alpha1
    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            properties:
    74              ancestor:
    75                description: 'Immutable. Policy for including ancestors in the index.
    76                  Default value: "NONE" Possible values: ["NONE", "ALL_ANCESTORS"].'
    77                type: string
    78              kind:
    79                description: Immutable. The entity kind which the index applies to.
    80                type: string
    81              projectRef:
    82                description: The project that this resource belongs to.
    83                oneOf:
    84                - not:
    85                    required:
    86                    - external
    87                  required:
    88                  - name
    89                - not:
    90                    anyOf:
    91                    - required:
    92                      - name
    93                    - required:
    94                      - namespace
    95                  required:
    96                  - external
    97                properties:
    98                  external:
    99                    description: 'Allowed value: The `name` field of a `Project` resource.'
   100                    type: string
   101                  name:
   102                    description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
   103                    type: string
   104                  namespace:
   105                    description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
   106                    type: string
   107                type: object
   108              properties:
   109                description: Immutable. An ordered list of properties to index on.
   110                items:
   111                  properties:
   112                    direction:
   113                      description: 'Immutable. The direction the index should optimize
   114                        for sorting. Possible values: ["ASCENDING", "DESCENDING"].'
   115                      type: string
   116                    name:
   117                      description: Immutable. The property name to index.
   118                      type: string
   119                  required:
   120                  - direction
   121                  - name
   122                  type: object
   123                type: array
   124              resourceID:
   125                description: Immutable. Optional. The service-generated indexId of
   126                  the resource. Used for acquisition only. Leave unset to create a
   127                  new resource.
   128                type: string
   129            required:
   130            - kind
   131            - projectRef
   132            type: object
   133          status:
   134            properties:
   135              conditions:
   136                description: Conditions represent the latest available observation
   137                  of the resource's current state.
   138                items:
   139                  properties:
   140                    lastTransitionTime:
   141                      description: Last time the condition transitioned from one status
   142                        to another.
   143                      type: string
   144                    message:
   145                      description: Human-readable message indicating details about
   146                        last transition.
   147                      type: string
   148                    reason:
   149                      description: Unique, one-word, CamelCase reason for the condition's
   150                        last transition.
   151                      type: string
   152                    status:
   153                      description: Status is the status of the condition. Can be True,
   154                        False, Unknown.
   155                      type: string
   156                    type:
   157                      description: Type is the type of the condition.
   158                      type: string
   159                  type: object
   160                type: array
   161              indexId:
   162                description: The index id.
   163                type: string
   164              observedGeneration:
   165                description: ObservedGeneration is the generation of the resource
   166                  that was most recently observed by the Config Connector controller.
   167                  If this is equal to metadata.generation, then that means that the
   168                  current reported status reflects the most recent desired state of
   169                  the resource.
   170                type: integer
   171            type: object
   172        required:
   173        - spec
   174        type: object
   175    served: true
   176    storage: true
   177    subresources:
   178      status: {}
   179status:
   180  acceptedNames:
   181    kind: ""
   182    plural: ""
   183  conditions: []
   184  storedVersions: []

View as plain text