...

Text file src/github.com/GoogleCloudPlatform/k8s-config-connector/crds/sql_v1beta1_sqldatabase.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: sqldatabases.sql.cnrm.cloud.google.com
    27spec:
    28  group: sql.cnrm.cloud.google.com
    29  names:
    30    categories:
    31    - gcp
    32    kind: SQLDatabase
    33    plural: sqldatabases
    34    shortNames:
    35    - gcpsqldatabase
    36    - gcpsqldatabases
    37    singular: sqldatabase
    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              charset:
    75                description: |-
    76                  The charset value. See MySQL's
    77                  [Supported Character Sets and Collations](https://dev.mysql.com/doc/refman/5.7/en/charset-charsets.html)
    78                  and Postgres' [Character Set Support](https://www.postgresql.org/docs/9.6/static/multibyte.html)
    79                  for more details and supported values. Postgres databases only support
    80                  a value of 'UTF8' at creation time.
    81                type: string
    82              collation:
    83                description: |-
    84                  The collation value. See MySQL's
    85                  [Supported Character Sets and Collations](https://dev.mysql.com/doc/refman/5.7/en/charset-charsets.html)
    86                  and Postgres' [Collation Support](https://www.postgresql.org/docs/9.6/static/collation.html)
    87                  for more details and supported values. Postgres databases only support
    88                  a value of 'en_US.UTF8' at creation time.
    89                type: string
    90              deletionPolicy:
    91                description: |-
    92                  The deletion policy for the database. Setting ABANDON allows the resource
    93                  to be abandoned rather than deleted. This is useful for Postgres, where databases cannot be
    94                  deleted from the API if there are users other than cloudsqlsuperuser with access. Possible
    95                  values are: "ABANDON", "DELETE". Defaults to "DELETE".
    96                type: string
    97              instanceRef:
    98                description: The Cloud SQL instance.
    99                oneOf:
   100                - not:
   101                    required:
   102                    - external
   103                  required:
   104                  - name
   105                - not:
   106                    anyOf:
   107                    - required:
   108                      - name
   109                    - required:
   110                      - namespace
   111                  required:
   112                  - external
   113                properties:
   114                  external:
   115                    description: 'Allowed value: The `name` field of a `SQLInstance`
   116                      resource.'
   117                    type: string
   118                  name:
   119                    description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
   120                    type: string
   121                  namespace:
   122                    description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
   123                    type: string
   124                type: object
   125              resourceID:
   126                description: Immutable. Optional. The name of the resource. Used for
   127                  creation and acquisition. When unset, the value of `metadata.name`
   128                  is used as the default.
   129                type: string
   130            required:
   131            - instanceRef
   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              observedGeneration:
   162                description: ObservedGeneration is the generation of the resource
   163                  that was most recently observed by the Config Connector controller.
   164                  If this is equal to metadata.generation, then that means that the
   165                  current reported status reflects the most recent desired state of
   166                  the resource.
   167                type: integer
   168              selfLink:
   169                type: string
   170            type: object
   171        required:
   172        - spec
   173        type: object
   174    served: true
   175    storage: true
   176    subresources:
   177      status: {}
   178status:
   179  acceptedNames:
   180    kind: ""
   181    plural: ""
   182  conditions: []
   183  storedVersions: []

View as plain text