Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: airbyte hooks #921

Merged
merged 1 commit into from
Oct 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion airbyte/helm/airbyte/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: airbyte
description: Unified data integration platform
type: application
version: 0.4.26
version: 0.4.27
appVersion: 0.50.33
dependencies:
- name: airbyte
Expand Down
Binary file modified airbyte/helm/airbyte/charts/airbyte-0.43.22.tgz
Binary file not shown.
103 changes: 53 additions & 50 deletions airbyte/helm/airbyte/templates/bootloader.yaml
Original file line number Diff line number Diff line change
@@ -1,55 +1,58 @@
apiVersion: v1
kind: Pod
kind: Job
metadata:
name: airbyte-bootloader-{{ randAlphaNum 6 | lower }}
name: airbyte-bootloader-{{ .Values.bootloader.image.tag | sha256sum | trunc 8 }}
labels:
{{ include "airbyte-plural.labels" . | nindent 4 }}
spec:
serviceAccountName: airbyte-admin
restartPolicy: Never
initContainers:
- name: wait-for-pg
image: gcr.io/pluralsh/busybox:latest
imagePullPolicy: IfNotPresent
command: [ "/bin/sh", "-c", "until nc -zv $DATABASE_HOST 5432 -w1; do echo 'waiting for db'; sleep 1; done" ]
env:
- name: DATABASE_HOST
valueFrom:
configMapKeyRef:
name: airbyte-airbyte-env
key: DATABASE_HOST
containers:
- name: airbyte-bootloader-container
image: {{ printf "%s:%s" .Values.bootloader.image.repository .Values.bootloader.image.tag }}
imagePullPolicy: IfNotPresent
env:
- name: AIRBYTE_VERSION
valueFrom:
configMapKeyRef:
name: airbyte-airbyte-env
key: AIRBYTE_VERSION
- name: DATABASE_HOST
valueFrom:
configMapKeyRef:
name: airbyte-airbyte-env
key: DATABASE_HOST
- name: DATABASE_PORT
valueFrom:
configMapKeyRef:
name: airbyte-airbyte-env
key: DATABASE_PORT
- name: DATABASE_PASSWORD
valueFrom:
secretKeyRef:
name: {{ .Values.global.database.secretName }}
key: {{ .Values.global.database.secretValue }}
- name: DATABASE_URL
valueFrom:
configMapKeyRef:
name: airbyte-airbyte-env
key: DATABASE_URL
- name: DATABASE_USER
valueFrom:
secretKeyRef:
name: airbyte-airbyte-secrets
key: DATABASE_USER
backoffLimit: 2
template:
spec:
serviceAccountName: airbyte-admin
restartPolicy: Never
initContainers:
- name: wait-for-pg
image: gcr.io/pluralsh/busybox:latest
imagePullPolicy: IfNotPresent
command: [ "/bin/sh", "-c", "until nc -zv $DATABASE_HOST 5432 -w1; do echo 'waiting for db'; sleep 1; done" ]
env:
- name: DATABASE_HOST
valueFrom:
configMapKeyRef:
name: airbyte-airbyte-env
key: DATABASE_HOST
containers:
- name: airbyte-bootloader-container
image: {{ printf "%s:%s" .Values.bootloader.image.repository .Values.bootloader.image.tag }}
imagePullPolicy: IfNotPresent
env:
- name: AIRBYTE_VERSION
valueFrom:
configMapKeyRef:
name: airbyte-airbyte-env
key: AIRBYTE_VERSION
- name: DATABASE_HOST
valueFrom:
configMapKeyRef:
name: airbyte-airbyte-env
key: DATABASE_HOST
- name: DATABASE_PORT
valueFrom:
configMapKeyRef:
name: airbyte-airbyte-env
key: DATABASE_PORT
- name: DATABASE_PASSWORD
valueFrom:
secretKeyRef:
name: {{ .Values.global.database.secretName }}
key: {{ .Values.global.database.secretValue }}
- name: DATABASE_URL
valueFrom:
configMapKeyRef:
name: airbyte-airbyte-env
key: DATABASE_URL
- name: DATABASE_USER
valueFrom:
secretKeyRef:
name: airbyte-airbyte-secrets
key: DATABASE_USER
Loading