Skip to content

Commit

Permalink
chore: expose file transfer env vars to self-hosted via helm (#14373)
Browse files Browse the repository at this point in the history
  • Loading branch information
tryangul committed Oct 16, 2024
1 parent 9284915 commit 0127240
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 1 deletion.
10 changes: 10 additions & 0 deletions charts/airbyte-workload-launcher/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -316,6 +316,16 @@ spec:
configMapKeyRef:
name: {{ .Release.Name }}-airbyte-env
key: WORKLOAD_LAUNCHER_PARALLELISM
- name: FILE_TRANSFER_EPHEMERAL_STORAGE_LIMIT
valueFrom:
configMapKeyRef:
name: {{ .Release.Name }}-airbyte-env
key: FILE_TRANSFER_EPHEMERAL_STORAGE_LIMIT
- name: FILE_TRANSFER_EPHEMERAL_STORAGE_REQUEST
valueFrom:
configMapKeyRef:
name: {{ .Release.Name }}-airbyte-env
key: FILE_TRANSFER_EPHEMERAL_STORAGE_REQUEST
{{- if or (eq .Values.global.edition "pro") (eq .Values.global.edition "enterprise") }}
- name: AIRBYTE_API_AUTH_HEADER_NAME
value: "X-Airbyte-Auth"
Expand Down
4 changes: 3 additions & 1 deletion charts/airbyte/templates/env-configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,9 @@ data:
ACTIVITY_INITIAL_DELAY_BETWEEN_ATTEMPTS_SECONDS: {{ .Values.worker.activityInitialDelayBetweenAttemptsSeconds | default "" | quote }}
ACTIVITY_MAX_DELAY_BETWEEN_ATTEMPTS_SECONDS: {{ .Values.worker.activityMaxDelayBetweenAttemptsSeconds | default "" | quote }}
WORKFLOW_FAILURE_RESTART_DELAY_SECONDS: ""

FILE_TRANSFER_EPHEMERAL_STORAGE_LIMIT: 5G
FILE_TRANSFER_EPHEMERAL_STORAGE_REQUEST: 5G

LAUNCHER_MICRONAUT_ENVIRONMENTS: "control-plane,oss"
WORKERS_MICRONAUT_ENVIRONMENTS: "control-plane"
CRON_MICRONAUT_ENVIRONMENTS: "control-plane"
Expand Down
2 changes: 2 additions & 0 deletions charts/helm-tests/tests/basic_template_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,8 @@ var commonConfigMapKeys = []string{
"DATABASE_URL",
"DATA_DOCKER_MOUNT",
"DB_DOCKER_MOUNT",
"FILE_TRANSFER_EPHEMERAL_STORAGE_LIMIT",
"FILE_TRANSFER_EPHEMERAL_STORAGE_REQUEST",
"GOOGLE_APPLICATION_CREDENTIALS",
"INTERNAL_API_HOST",
"JOBS_DATABASE_MINIMUM_FLYWAY_MIGRATION_VERSION",
Expand Down

0 comments on commit 0127240

Please sign in to comment.