โ๏ธConfigure an external S3
Layout
Configuration
1
garage:
enabled: false2
global:
s3:
keys:
dataexecution:
id: <AWS_ACCESS_KEY_ID>
secret: <AWS_SECRET_ACCESS_KEY>
# OR
existingSecret:
name: '<K8S Secret Name>'
key: '<K8S Secret Key>'
toucan_ro:
id: <AWS_ACCESS_KEY_ID>
secret: <AWS_SECRET_ACCESS_KEY>
# OR
existingSecret:
name: '<K8S Secret Name>'
key: '<K8S Secret Key>'
toucan:
id: <AWS_ACCESS_KEY_ID>
secret: <AWS_SECRET_ACCESS_KEY>
# OR
existingSecret:
name: '<K8S Secret Name>'
key: '<K8S Secret Key>'3
laputa:
config:
s3_storage:
bucket_name: '<your-toucan-data-bucket>' # 'toucan-data'
region_name: '<your-aws-region>' # 'fr-par', check your S3 provider
endpoint_url: '<your-external-s3-endpoint-url>' # 'https://<your-external-s3-endpoint-url>'
verify: true # Check TLS certificate.
common:
TOUCAN_S3_TOUCAN_URI_AUTH_ENCODED_RW: 's3://{{ .Values.global.s3.keys.toucan.id }}:$(TOUCAN_S3_TOUCAN_SECRET_KEY)@<your-toucan-data-bucket>'
TOUCAN_S3_TOUCAN_URI_AUTH_ENCODED_RO: 's3://{{ .Values.global.s3.keys.toucan_ro.id }}:$(TOUCAN_S3_TOUCAN_RO_SECRET_KEY)@<your-toucan-data-bucket>'
dataexecution:
config:
specific:
bucket_name: '<your-dataexecution-cache-bucket>' # 'dataexecution-cache'
region: '<your-aws-region>' # 'fr-par', check your S3 provider
endpoint: '<your-external-s3-endpoint-url>' # 'https://<your-external-s3-endpoint-url>'
vault:
bootstrap:
s3:
# Sadly, this is hardcoded inside the dataset service code.
# If you wish to change it, feel free to send us a feedback.
path: secret/{{ .Values.dataset.config.environment }}/{{ .Values.global.tenantID }}/{{ .Values.global.workspaceID }}/s3_ro
uri: 's3://<your-toucan-data-bucket>' # 's3://toucan-data'
region: '<your-aws-region>' # 'fr-par', check your S3 provider
endpoint: '<your-external-s3-endpoint-url>' # 'https://<your-external-s3-endpoint-url>'
dataset:
config:
specific:
vault_secret_paths:
s3_datasource_upload_path: s3_ro # See vault.bootstrap.s3.path4
# ...
global:
s3:
keys:
dataexecution:
id: <AWS_ACCESS_KEY_ID>
secret: <AWS_SECRET_ACCESS_KEY>
# OR
existingSecret:
name: '<K8S Secret Name>'
key: '<K8S Secret Key>'
toucan_ro:
id: <AWS_ACCESS_KEY_ID>
secret: <AWS_SECRET_ACCESS_KEY>
# OR
existingSecret:
name: '<K8S Secret Name>'
key: '<K8S Secret Key>'
toucan:
id: <AWS_ACCESS_KEY_ID>
secret: <AWS_SECRET_ACCESS_KEY>
# OR
existingSecret:
name: '<K8S Secret Name>'
key: '<K8S Secret Key>'
laputa:
config:
s3_storage:
bucket_name: '<your-toucan-data-bucket>' # 'toucan-data'
region_name: '<your-aws-region>' # 'fr-par', check your S3 provider
endpoint_url: '<your-external-s3-endpoint-url>' # 'https://<your-external-s3-endpoint-url>'
verify: true # Check TLS certificate.
dataexecution:
config:
specific:
bucket_name: '<your-dataexecution-cache-bucket>' # 'dataexecution-cache'
region: '<your-aws-region>' # 'fr-par', check your S3 provider
endpoint: '<your-external-s3-endpoint-url>' # 'https://<your-external-s3-endpoint-url>'
vault:
bootstrap:
s3:
# Sadly, this is hardcoded inside the dataset service code.
# If you wish to change it, feel free to send us a feedback.
path: secret/{{ .Values.dataset.config.environment }}/{{ .Values.global.tenantID }}/{{ .Values.global.workspaceID }}/s3_ro
uri: 's3://<your-toucan-data-bucket>' # 's3://toucan-data'
region: '<your-aws-region>' # 'fr-par', check your S3 provider
endpoint: '<your-external-s3-endpoint-url>' # 'https://<your-external-s3-endpoint-url>'
dataset:
config:
specific:
vault_secret_paths:
s3_datasource_upload_path: s3_ro # (must match the path: /secret)helm upgrade --install toucan-stack oci://quay.io/toucantoco/charts/toucan-stack \
--namespace toucan \
--values ./values.override.yamlLast updated
Was this helpful?