Connection configuration
Download JSON Schema
Example
apiVersion: leapview.dev/v1
kind: Connection
metadata:
name: olist
title: Olist CSV files
spec:
kind: managed
description: Project-global managed Olist ecommerce demo data.
credentials:
provider: none
defaults:
options:
header: true
Fields
| Field |
Type |
Required |
Rules |
apiVersion |
APIVersion |
Yes |
|
kind |
Connection |
Yes |
|
metadata |
Metadata |
Yes |
|
spec |
Connection |
Yes |
|
Nested definitions
APIVersion
| Field |
Type |
Required |
Rules |
AmbientCredentials
| Field |
Type |
Required |
Rules |
accountName |
string |
No |
|
endpoint |
string |
No |
|
provider |
ambient |
Yes |
|
region |
string |
No |
|
AnyObject
| Field |
Type |
Required |
Rules |
Connection
| Field |
Type |
Required |
Rules |
credentials |
object |
No |
|
database |
string |
No |
|
defaults |
object |
No |
no additional fields |
description |
string |
No |
|
host |
string |
No |
|
kind |
object |
Yes |
one of managed, s3, r2, gcs, http, azure_blob, postgres, mysql, sqlite, ducklake |
options |
AnyObject |
No |
|
path |
string |
No |
|
port |
integer |
No |
|
root |
string |
No |
|
scope |
string |
No |
|
sslMode |
string |
No |
|
username |
string |
No |
|
EnvCredentials
| Field |
Type |
Required |
Rules |
provider |
env |
Yes |
|
secret |
string |
Yes |
|
| Field |
Type |
Required |
Rules |
description |
string |
No |
|
name |
ResourceID |
Yes |
|
owner |
string |
No |
|
tags |
array of string |
No |
|
title |
string |
No |
|
workspace |
ResourceID |
No |
|
NoCredentials
| Field |
Type |
Required |
Rules |
ResourceID
| Field |
Type |
Required |
Rules |