Skip to content

Commit

Permalink
fix: fix issues with dashes in name (#22803)
Browse files Browse the repository at this point in the history
* fix: fix issues with dashes in name

* Fix quotation for empty values

* Update defaults
  • Loading branch information
xpuska513 authored Feb 10, 2023
1 parent ec79bff commit 858ba2a
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 6 deletions.
2 changes: 1 addition & 1 deletion charts/airbyte-bootloader/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -182,4 +182,4 @@ env_vars: {}
## extraSelectorLables [object] - use to specify own additional selector labels for deployment
extraSelectorLabels: {}
## extraLabels [object] - use to specify own additional labels for deployment
extraLabels: {}
extraLabels: {}
11 changes: 6 additions & 5 deletions charts/airbyte/templates/env-configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ data:
{{- end }}
JOBS_DATABASE_MINIMUM_FLYWAY_MIGRATION_VERSION: "0.29.15.001"
LOCAL_ROOT: /tmp/airbyte_local
RUN_DATABASE_MIGRATION_ON_STARTUP: "true"
RUN_DATABASE_MIGRATION_ON_STARTUP: {{ index .Values "airbyte-bootloader" "runDatabaseMigrationsOnStartup" | default "true" | quote }}
S3_LOG_BUCKET: {{ .Values.global.logs.s3.bucket | quote }}
S3_LOG_BUCKET_REGION: {{ .Values.global.logs.s3.bucketRegion | quote }}
S3_MINIO_ENDPOINT: {{ include "airbyte.minio.endpoint" . | quote }}
Expand All @@ -58,9 +58,9 @@ data:
WORKSPACE_ROOT: /workspace
METRIC_CLIENT: {{ .Values.global.metrics.metricClient | default "" | quote }}
OTEL_COLLECTOR_ENDPOINT: {{ .Values.global.metrics.otelCollectorEndpoint | default "" | quote }}
ACTIVITY_MAX_ATTEMPT: ""
ACTIVITY_INITIAL_DELAY_BETWEEN_ATTEMPTS_SECONDS: ""
ACTIVITY_MAX_DELAY_BETWEEN_ATTEMPTS_SECONDS: ""
ACTIVITY_MAX_ATTEMPT: {{ .Values.worker.activityMaxAttempt | default "" | quote }}
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: ""
USE_STREAM_CAPABLE_STATE: "true"
AUTO_DETECT_SCHEMA: "true"
Expand All @@ -71,5 +71,6 @@ data:
WORKER_LOGS_STORAGE_TYPE: {{ .Values.global.logs.storage.type | quote }}
WORKER_STATE_STORAGE_TYPE: {{ .Values.global.state.storage.type | quote }}
SHOULD_RUN_NOTIFY_WORKFLOWS: "false"
MAX_NOTIFY_WORKERS: "5"
MAX_NOTIFY_WORKERS: {{ .Values.worker.maxNotifyWorkers | default "5" | quote }}

{{- end }}
7 changes: 7 additions & 0 deletions charts/airbyte/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -819,6 +819,13 @@ worker:
enabled: true
image: ""

## current no exist documentations
activityMaxAttempt: ""
activityInitialDelayBetweenAttemptsSeconds: ""
activityMaxDelayBetweenAttemptsSeconds: ""

maxNotifyWorkers: 5

## @section Metrics parameters
metrics:
enabled: false
Expand Down

0 comments on commit 858ba2a

Please sign in to comment.