...

Text file src/github.com/GoogleCloudPlatform/k8s-config-connector/crds/bigtable_v1beta1_bigtablegcpolicy.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: bigtablegcpolicies.bigtable.cnrm.cloud.google.com
    27spec:
    28  group: bigtable.cnrm.cloud.google.com
    29  names:
    30    categories:
    31    - gcp
    32    kind: BigtableGCPolicy
    33    plural: bigtablegcpolicies
    34    shortNames:
    35    - gcpbigtablegcpolicy
    36    - gcpbigtablegcpolicies
    37    singular: bigtablegcpolicy
    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            properties:
    74              columnFamily:
    75                description: Immutable. The name of the column family.
    76                type: string
    77              deletionPolicy:
    78                description: "The deletion policy for the GC policy. Setting ABANDON
    79                  allows the resource\n\t\t\t\tto be abandoned rather than deleted.
    80                  This is useful for GC policy as it cannot be deleted\n\t\t\t\tin
    81                  a replicated instance. Possible values are: \"ABANDON\"."
    82                type: string
    83              gcRules:
    84                description: Serialized JSON string for garbage collection policy.
    85                  Conflicts with "mode", "max_age" and "max_version".
    86                type: string
    87              instanceRef:
    88                description: The name of the Bigtable instance.
    89                oneOf:
    90                - not:
    91                    required:
    92                    - external
    93                  required:
    94                  - name
    95                - not:
    96                    anyOf:
    97                    - required:
    98                      - name
    99                    - required:
   100                      - namespace
   101                  required:
   102                  - external
   103                properties:
   104                  external:
   105                    description: 'Allowed value: The `name` field of a `BigtableInstance`
   106                      resource.'
   107                    type: string
   108                  name:
   109                    description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
   110                    type: string
   111                  namespace:
   112                    description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
   113                    type: string
   114                type: object
   115              maxAge:
   116                description: 'Immutable. NOTE: ''gc_rules'' is more flexible, and
   117                  should be preferred over this field for new resources. This field
   118                  may be deprecated in the future. GC policy that applies to all cells
   119                  older than the given age.'
   120                items:
   121                  properties:
   122                    days:
   123                      description: DEPRECATED. Deprecated in favor of duration. Immutable.
   124                        Number of days before applying GC policy.
   125                      type: integer
   126                    duration:
   127                      description: Immutable. Duration before applying GC policy.
   128                      type: string
   129                  type: object
   130                type: array
   131              maxVersion:
   132                description: 'Immutable. NOTE: ''gc_rules'' is more flexible, and
   133                  should be preferred over this field for new resources. This field
   134                  may be deprecated in the future. GC policy that applies to all versions
   135                  of a cell except for the most recent.'
   136                items:
   137                  properties:
   138                    number:
   139                      description: Immutable. Number of version before applying the
   140                        GC policy.
   141                      type: integer
   142                  required:
   143                  - number
   144                  type: object
   145                type: array
   146              mode:
   147                description: 'Immutable. NOTE: ''gc_rules'' is more flexible, and
   148                  should be preferred over this field for new resources. This field
   149                  may be deprecated in the future. If multiple policies are set, you
   150                  should choose between UNION OR INTERSECTION.'
   151                type: string
   152              tableRef:
   153                description: The name of the table.
   154                oneOf:
   155                - not:
   156                    required:
   157                    - external
   158                  required:
   159                  - name
   160                - not:
   161                    anyOf:
   162                    - required:
   163                      - name
   164                    - required:
   165                      - namespace
   166                  required:
   167                  - external
   168                properties:
   169                  external:
   170                    description: 'Allowed value: The `name` field of a `BigtableTable`
   171                      resource.'
   172                    type: string
   173                  name:
   174                    description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
   175                    type: string
   176                  namespace:
   177                    description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
   178                    type: string
   179                type: object
   180            required:
   181            - columnFamily
   182            - instanceRef
   183            - tableRef
   184            type: object
   185          status:
   186            properties:
   187              conditions:
   188                description: Conditions represent the latest available observation
   189                  of the resource's current state.
   190                items:
   191                  properties:
   192                    lastTransitionTime:
   193                      description: Last time the condition transitioned from one status
   194                        to another.
   195                      type: string
   196                    message:
   197                      description: Human-readable message indicating details about
   198                        last transition.
   199                      type: string
   200                    reason:
   201                      description: Unique, one-word, CamelCase reason for the condition's
   202                        last transition.
   203                      type: string
   204                    status:
   205                      description: Status is the status of the condition. Can be True,
   206                        False, Unknown.
   207                      type: string
   208                    type:
   209                      description: Type is the type of the condition.
   210                      type: string
   211                  type: object
   212                type: array
   213              observedGeneration:
   214                description: ObservedGeneration is the generation of the resource
   215                  that was most recently observed by the Config Connector controller.
   216                  If this is equal to metadata.generation, then that means that the
   217                  current reported status reflects the most recent desired state of
   218                  the resource.
   219                type: integer
   220            type: object
   221        required:
   222        - spec
   223        type: object
   224    served: true
   225    storage: true
   226    subresources:
   227      status: {}
   228status:
   229  acceptedNames:
   230    kind: ""
   231    plural: ""
   232  conditions: []
   233  storedVersions: []

View as plain text