...

Text file src/github.com/GoogleCloudPlatform/k8s-config-connector/crds/bigqueryconnection_v1alpha1_bigqueryconnectionconnection.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: bigqueryconnectionconnections.bigqueryconnection.cnrm.cloud.google.com
    27spec:
    28  group: bigqueryconnection.cnrm.cloud.google.com
    29  names:
    30    categories:
    31    - gcp
    32    kind: BigQueryConnectionConnection
    33    plural: bigqueryconnectionconnections
    34    shortNames:
    35    - gcpbigqueryconnectionconnection
    36    - gcpbigqueryconnectionconnections
    37    singular: bigqueryconnectionconnection
    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              aws:
    75                description: Connection properties specific to Amazon Web Services.
    76                properties:
    77                  accessRole:
    78                    description: Authentication using Google owned service account
    79                      to assume into customer's AWS IAM Role.
    80                    properties:
    81                      iamRoleId:
    82                        description: The user’s AWS IAM Role that trusts the Google-owned
    83                          AWS IAM user Connection.
    84                        type: string
    85                      identity:
    86                        description: A unique Google-owned and Google-generated identity
    87                          for the Connection. This identity will be used to access
    88                          the user's AWS IAM Role.
    89                        type: string
    90                    required:
    91                    - iamRoleId
    92                    type: object
    93                required:
    94                - accessRole
    95                type: object
    96              azure:
    97                description: Container for connection properties specific to Azure.
    98                properties:
    99                  application:
   100                    description: The name of the Azure Active Directory Application.
   101                    type: string
   102                  clientId:
   103                    description: The client id of the Azure Active Directory Application.
   104                    type: string
   105                  customerTenantId:
   106                    description: The id of customer's directory that host the data.
   107                    type: string
   108                  federatedApplicationClientId:
   109                    description: The Azure Application (client) ID where the federated
   110                      credentials will be hosted.
   111                    type: string
   112                  identity:
   113                    description: A unique Google-owned and Google-generated identity
   114                      for the Connection. This identity will be used to access the
   115                      user's Azure Active Directory Application.
   116                    type: string
   117                  objectId:
   118                    description: The object id of the Azure Active Directory Application.
   119                    type: string
   120                  redirectUri:
   121                    description: The URL user will be redirected to after granting
   122                      consent during connection setup.
   123                    type: string
   124                required:
   125                - customerTenantId
   126                type: object
   127              cloudResource:
   128                description: Container for connection properties for delegation of
   129                  access to GCP resources.
   130                properties:
   131                  serviceAccountId:
   132                    description: The account ID of the service created for the purpose
   133                      of this connection.
   134                    type: string
   135                type: object
   136              cloudSpanner:
   137                description: Connection properties specific to Cloud Spanner.
   138                properties:
   139                  database:
   140                    description: Cloud Spanner database in the form 'project/instance/database'.
   141                    type: string
   142                  useParallelism:
   143                    description: If parallelism should be used when reading from Cloud
   144                      Spanner.
   145                    type: boolean
   146                  useServerlessAnalytics:
   147                    description: If the serverless analytics service should be used
   148                      to read data from Cloud Spanner. useParallelism must be set
   149                      when using serverless analytics.
   150                    type: boolean
   151                required:
   152                - database
   153                type: object
   154              cloudSql:
   155                description: Connection properties specific to the Cloud SQL.
   156                properties:
   157                  credential:
   158                    description: Cloud SQL properties.
   159                    properties:
   160                      password:
   161                        description: Password for database.
   162                        oneOf:
   163                        - not:
   164                            required:
   165                            - valueFrom
   166                          required:
   167                          - value
   168                        - not:
   169                            required:
   170                            - value
   171                          required:
   172                          - valueFrom
   173                        properties:
   174                          value:
   175                            description: Value of the field. Cannot be used if 'valueFrom'
   176                              is specified.
   177                            type: string
   178                          valueFrom:
   179                            description: Source for the field's value. Cannot be used
   180                              if 'value' is specified.
   181                            properties:
   182                              secretKeyRef:
   183                                description: Reference to a value with the given key
   184                                  in the given Secret in the resource's namespace.
   185                                properties:
   186                                  key:
   187                                    description: Key that identifies the value to
   188                                      be extracted.
   189                                    type: string
   190                                  name:
   191                                    description: Name of the Secret to extract a value
   192                                      from.
   193                                    type: string
   194                                required:
   195                                - name
   196                                - key
   197                                type: object
   198                            type: object
   199                        type: object
   200                      username:
   201                        description: Username for database.
   202                        type: string
   203                    required:
   204                    - password
   205                    - username
   206                    type: object
   207                  database:
   208                    description: Database name.
   209                    type: string
   210                  instanceId:
   211                    description: Cloud SQL instance ID in the form project:location:instance.
   212                    type: string
   213                  serviceAccountId:
   214                    description: When the connection is used in the context of an
   215                      operation in BigQuery, this service account will serve as the
   216                      identity being used for connecting to the CloudSQL instance
   217                      specified in this connection.
   218                    type: string
   219                  type:
   220                    description: 'Type of the Cloud SQL database. Possible values:
   221                      ["DATABASE_TYPE_UNSPECIFIED", "POSTGRES", "MYSQL"].'
   222                    type: string
   223                required:
   224                - credential
   225                - database
   226                - instanceId
   227                - type
   228                type: object
   229              description:
   230                description: A descriptive description for the connection.
   231                type: string
   232              friendlyName:
   233                description: A descriptive name for the connection.
   234                type: string
   235              location:
   236                description: |-
   237                  Immutable. The geographic location where the connection should reside.
   238                  Cloud SQL instance must be in the same location as the connection
   239                  with following exceptions: Cloud SQL us-central1 maps to BigQuery US, Cloud SQL europe-west1 maps to BigQuery EU.
   240                  Examples: US, EU, asia-northeast1, us-central1, europe-west1.
   241                  Spanner Connections same as spanner region
   242                  AWS allowed regions are aws-us-east-1
   243                  Azure allowed regions are azure-eastus2.
   244                type: string
   245              projectRef:
   246                description: The project that this resource belongs to.
   247                oneOf:
   248                - not:
   249                    required:
   250                    - external
   251                  required:
   252                  - name
   253                - not:
   254                    anyOf:
   255                    - required:
   256                      - name
   257                    - required:
   258                      - namespace
   259                  required:
   260                  - external
   261                properties:
   262                  external:
   263                    description: 'Allowed value: The `name` field of a `Project` resource.'
   264                    type: string
   265                  name:
   266                    description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
   267                    type: string
   268                  namespace:
   269                    description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
   270                    type: string
   271                type: object
   272              resourceID:
   273                description: Immutable. Optional. The connectionId of the resource.
   274                  Used for creation and acquisition. When unset, the value of `metadata.name`
   275                  is used as the default.
   276                type: string
   277            required:
   278            - location
   279            - projectRef
   280            type: object
   281          status:
   282            properties:
   283              conditions:
   284                description: Conditions represent the latest available observation
   285                  of the resource's current state.
   286                items:
   287                  properties:
   288                    lastTransitionTime:
   289                      description: Last time the condition transitioned from one status
   290                        to another.
   291                      type: string
   292                    message:
   293                      description: Human-readable message indicating details about
   294                        last transition.
   295                      type: string
   296                    reason:
   297                      description: Unique, one-word, CamelCase reason for the condition's
   298                        last transition.
   299                      type: string
   300                    status:
   301                      description: Status is the status of the condition. Can be True,
   302                        False, Unknown.
   303                      type: string
   304                    type:
   305                      description: Type is the type of the condition.
   306                      type: string
   307                  type: object
   308                type: array
   309              hasCredential:
   310                description: True if the connection has credential assigned.
   311                type: boolean
   312              name:
   313                description: |-
   314                  The resource name of the connection in the form of:
   315                  "projects/{project_id}/locations/{location_id}/connections/{connectionId}".
   316                type: string
   317              observedGeneration:
   318                description: ObservedGeneration is the generation of the resource
   319                  that was most recently observed by the Config Connector controller.
   320                  If this is equal to metadata.generation, then that means that the
   321                  current reported status reflects the most recent desired state of
   322                  the resource.
   323                type: integer
   324            type: object
   325        required:
   326        - spec
   327        type: object
   328    served: true
   329    storage: true
   330    subresources:
   331      status: {}
   332status:
   333  acceptedNames:
   334    kind: ""
   335    plural: ""
   336  conditions: []
   337  storedVersions: []

View as plain text