DataformRepository
Property | Value |
---|---|
Google Cloud Service Name | Dataform |
Google Cloud Service Documentation | /dataform/docs/ |
Google Cloud REST Resource Name | v1beta1.projects.locations.repositories |
Google Cloud REST Resource Documentation | /dataform/docs/reference/rest/v1beta1/projects.locations.repositories |
Config Connector Resource Short Names | gcpdataformrepository gcpdataformrepositories dataformrepository |
Config Connector Service Name | dataform.googleapis.com |
Config Connector Resource Fully Qualified Name | dataformrepositories.dataform.cnrm.cloud.google.com |
Can Be Referenced by IAMPolicy/IAMPolicyMember | No |
Config Connector Default Average Reconcile Interval In Seconds | 600 |
Custom Resource Definition Properties
Spec
Schema
displayName: string
gitRemoteSettings:
authenticationTokenSecretVersionRef:
external: string
name: string
namespace: string
defaultBranch: string
sshAuthenticationConfig:
hostPublicKey: string
userPrivateKeySecretVersionRef:
external: string
name: string
namespace: string
url: string
npmrcEnvironmentVariablesSecretVersionRef:
external: string
name: string
namespace: string
projectRef:
external: string
kind: string
name: string
namespace: string
region: string
resourceID: string
serviceAccountRef:
external: string
name: string
namespace: string
setAuthenticatedUserAdmin: boolean
workspaceCompilationOverrides:
defaultDatabase: string
schemaSuffix: string
tablePrefix: string
Fields | |
---|---|
Optional |
Optional. The repository's user-friendly name. |
Optional |
Optional. If set, configures this repository to be linked to a Git remote. |
Optional |
The name of the Secret Manager secret version to use as an authentication token for Git operations. Must be in the format projects/* /secrets/* /versions/*. |
Optional |
If provided must be in the format `projects/*/secrets/*/versions/*`. |
Optional |
The `name` field of a `SecretManagerSecretVersion` resource. |
Optional |
The `metadata.namespace` field of a `SecretManagerSecretVersion` resource. |
Required* |
The Git remote's default branch name. |
Optional |
Authentication fields for remote uris using SSH protocol. |
Required* |
Content of a public SSH key to verify an identity of a remote Git host. |
Required* |
The name of the Secret Manager secret version to use as a ssh private key for Git operations. Must be in the format projects/*/secrets/*/versions/* . |
Optional |
If provided must be in the format `projects/*/secrets/*/versions/*`. |
Optional |
The `name` field of a `SecretManagerSecretVersion` resource. |
Optional |
The `metadata.namespace` field of a `SecretManagerSecretVersion` resource. |
Required* |
The Git remote's URL. |
Optional |
Optional. The name of the Secret Manager secret version to be used to interpolate variables into the .npmrc file for package installation operations. |
Optional |
If provided must be in the format `projects/*/secrets/*/versions/*`. |
Optional |
The `name` field of a `SecretManagerSecretVersion` resource. |
Optional |
The `metadata.namespace` field of a `SecretManagerSecretVersion` resource. |
Required |
The project that this resource belongs to. |
Optional |
The `projectID` field of a project, when not managed by Config Connector. |
Optional |
The kind of the Project resource; optional but must be `Project` if provided. |
Optional |
The `name` field of a `Project` resource. |
Optional |
The `namespace` field of a `Project` resource. |
Required |
Immutable. A reference to the region. |
Optional |
Immutable. Optional. The name of the resource. Used for creation and acquisition. When unset, the value of `metadata.name` is used as the default. |
Optional |
Optional. The service account reference to run workflow invocations under. |
Optional |
The `email` field of an `IAMServiceAccount` resource. |
Optional |
Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names |
Optional |
Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/ |
Optional |
Optional. Input only. If set to true, the authenticated user will be granted the roles/dataform.admin role on the created repository. |
Optional |
Optional. If set, fields of workspaceCompilationOverrides override the default compilation settings that are specified in dataform.json when creating workspace-scoped compilation results. |
Optional |
Optional. The default database (Google Cloud project ID). |
Optional |
Optional. The suffix that should be appended to all schema (BigQuery dataset ID) names. |
Optional |
Optional. The prefix that should be prepended to all table names. |
* Field is required when parent field is specified
Status
Schema
conditions:
- lastTransitionTime: string
message: string
reason: string
status: string
type: string
externalRef: string
observedGeneration: integer
observedState: {}
Fields | |
---|---|
conditions |
Conditions represent the latest available observations of the DataformRepository's current state. |
conditions[] |
|
conditions[].lastTransitionTime |
Last time the condition transitioned from one status to another. |
conditions[].message |
Human-readable message indicating details about last transition. |
conditions[].reason |
Unique, one-word, CamelCase reason for the condition's last transition. |
conditions[].status |
Status is the status of the condition. Can be True, False, Unknown. |
conditions[].type |
Type is the type of the condition. |
externalRef |
A unique specifier for the DataformReposity resource in GCP. |
observedGeneration |
ObservedGeneration is the generation of the resource that was most recently observed by the Config Connector controller. If this is equal to metadata.generation, then that means that the current reported status reflects the most recent desired state of the resource. |
observedState |
ObservedState is the state of the resource as most recently observed in GCP. |
Sample YAML(s)
Typical Use Case
# Copyright 2024 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
apiVersion: dataform.cnrm.cloud.google.com/v1alpha1
kind: DataformRepository
metadata:
name: dataformrepository-sample
spec:
projectRef:
external: ${PROJECT_ID?}
region: us-west2