...

Text file src/github.com/GoogleCloudPlatform/k8s-config-connector/config/crds/resources/apiextensions.k8s.io_v1_customresourcedefinition_spannerdatabases.spanner.cnrm.cloud.google.com.yaml

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

     1apiVersion: apiextensions.k8s.io/v1
     2kind: CustomResourceDefinition
     3metadata:
     4  annotations:
     5    cnrm.cloud.google.com/version: 0.0.0-dev
     6  creationTimestamp: null
     7  labels:
     8    cnrm.cloud.google.com/managed-by-kcc: "true"
     9    cnrm.cloud.google.com/stability-level: stable
    10    cnrm.cloud.google.com/system: "true"
    11    cnrm.cloud.google.com/tf2crd: "true"
    12  name: spannerdatabases.spanner.cnrm.cloud.google.com
    13spec:
    14  group: spanner.cnrm.cloud.google.com
    15  names:
    16    categories:
    17    - gcp
    18    kind: SpannerDatabase
    19    plural: spannerdatabases
    20    shortNames:
    21    - gcpspannerdatabase
    22    - gcpspannerdatabases
    23    singular: spannerdatabase
    24  preserveUnknownFields: false
    25  scope: Namespaced
    26  versions:
    27  - additionalPrinterColumns:
    28    - jsonPath: .metadata.creationTimestamp
    29      name: Age
    30      type: date
    31    - description: When 'True', the most recent reconcile of the resource succeeded
    32      jsonPath: .status.conditions[?(@.type=='Ready')].status
    33      name: Ready
    34      type: string
    35    - description: The reason for the value in 'Ready'
    36      jsonPath: .status.conditions[?(@.type=='Ready')].reason
    37      name: Status
    38      type: string
    39    - description: The last transition time for the value in 'Status'
    40      jsonPath: .status.conditions[?(@.type=='Ready')].lastTransitionTime
    41      name: Status Age
    42      type: date
    43    name: v1beta1
    44    schema:
    45      openAPIV3Schema:
    46        properties:
    47          apiVersion:
    48            description: 'apiVersion defines the versioned schema of this representation
    49              of an object. Servers should convert recognized schemas to the latest
    50              internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources'
    51            type: string
    52          kind:
    53            description: 'kind is a string value representing the REST resource this
    54              object represents. Servers may infer this from the endpoint the client
    55              submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds'
    56            type: string
    57          metadata:
    58            type: object
    59          spec:
    60            properties:
    61              databaseDialect:
    62                description: |-
    63                  Immutable. The dialect of the Cloud Spanner Database.
    64                  If it is not provided, "GOOGLE_STANDARD_SQL" will be used. Possible values: ["GOOGLE_STANDARD_SQL", "POSTGRESQL"].
    65                type: string
    66              ddl:
    67                description: |-
    68                  An optional list of DDL statements to run inside the newly created
    69                  database. Statements can create tables, indexes, etc. These statements
    70                  execute atomically with the creation of the database: if there is an
    71                  error in any statement, the database is not created.
    72                items:
    73                  type: string
    74                type: array
    75              encryptionConfig:
    76                description: Immutable. Encryption configuration for the database.
    77                properties:
    78                  kmsKeyRef:
    79                    description: |-
    80                      Fully qualified name of the KMS key to use to encrypt this database. This key
    81                      must exist in the same location as the Spanner Database.
    82                    oneOf:
    83                    - not:
    84                        required:
    85                        - external
    86                      required:
    87                      - name
    88                    - not:
    89                        anyOf:
    90                        - required:
    91                          - name
    92                        - required:
    93                          - namespace
    94                      required:
    95                      - external
    96                    properties:
    97                      external:
    98                        description: 'Allowed value: The `selfLink` field of a `KMSCryptoKey`
    99                          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                required:
   109                - kmsKeyRef
   110                type: object
   111              instanceRef:
   112                description: The instance to create the database on.
   113                oneOf:
   114                - not:
   115                    required:
   116                    - external
   117                  required:
   118                  - name
   119                - not:
   120                    anyOf:
   121                    - required:
   122                      - name
   123                    - required:
   124                      - namespace
   125                  required:
   126                  - external
   127                properties:
   128                  external:
   129                    description: 'Allowed value: The `name` field of a `SpannerInstance`
   130                      resource.'
   131                    type: string
   132                  name:
   133                    description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
   134                    type: string
   135                  namespace:
   136                    description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
   137                    type: string
   138                type: object
   139              resourceID:
   140                description: Immutable. Optional. The name of the resource. Used for
   141                  creation and acquisition. When unset, the value of `metadata.name`
   142                  is used as the default.
   143                type: string
   144              versionRetentionPeriod:
   145                description: |-
   146                  The retention period for the database. The retention period must be between 1 hour
   147                  and 7 days, and can be specified in days, hours, minutes, or seconds. For example,
   148                  the values 1d, 24h, 1440m, and 86400s are equivalent. Default value is 1h.
   149                  If this property is used, you must avoid adding new DDL statements to 'ddl' that
   150                  update the database's version_retention_period.
   151                type: string
   152            required:
   153            - instanceRef
   154            type: object
   155          status:
   156            properties:
   157              conditions:
   158                description: Conditions represent the latest available observation
   159                  of the resource's current state.
   160                items:
   161                  properties:
   162                    lastTransitionTime:
   163                      description: Last time the condition transitioned from one status
   164                        to another.
   165                      type: string
   166                    message:
   167                      description: Human-readable message indicating details about
   168                        last transition.
   169                      type: string
   170                    reason:
   171                      description: Unique, one-word, CamelCase reason for the condition's
   172                        last transition.
   173                      type: string
   174                    status:
   175                      description: Status is the status of the condition. Can be True,
   176                        False, Unknown.
   177                      type: string
   178                    type:
   179                      description: Type is the type of the condition.
   180                      type: string
   181                  type: object
   182                type: array
   183              observedGeneration:
   184                description: ObservedGeneration is the generation of the resource
   185                  that was most recently observed by the Config Connector controller.
   186                  If this is equal to metadata.generation, then that means that the
   187                  current reported status reflects the most recent desired state of
   188                  the resource.
   189                type: integer
   190              state:
   191                description: An explanation of the status of the database.
   192                type: string
   193            type: object
   194        required:
   195        - spec
   196        type: object
   197    served: true
   198    storage: true
   199    subresources:
   200      status: {}
   201status:
   202  acceptedNames:
   203    kind: ""
   204    plural: ""
   205  conditions: []
   206  storedVersions: []

View as plain text