From e930356bb6c9672cc81b042bcb7d300f2dded4e0 Mon Sep 17 00:00:00 2001 From: Sebastian Florek Date: Wed, 11 Dec 2024 10:43:47 +0100 Subject: [PATCH] update airbyte pr automation --- catalogs/data/airbyte/helmrepository.yaml | 8 ++++++++ catalogs/data/airbyte/servicedeployment.yaml.liquid | 8 +++++--- setup/catalogs/data/airbyte.yaml | 2 +- 3 files changed, 14 insertions(+), 4 deletions(-) create mode 100644 catalogs/data/airbyte/helmrepository.yaml diff --git a/catalogs/data/airbyte/helmrepository.yaml b/catalogs/data/airbyte/helmrepository.yaml new file mode 100644 index 00000000..c258a051 --- /dev/null +++ b/catalogs/data/airbyte/helmrepository.yaml @@ -0,0 +1,8 @@ +apiVersion: source.toolkit.fluxcd.io/v1beta2 +kind: HelmRepository +metadata: + name: airbyte + namespace: apps +spec: + interval: 5m0s + url: https://airbytehq.github.io/helm-charts diff --git a/catalogs/data/airbyte/servicedeployment.yaml.liquid b/catalogs/data/airbyte/servicedeployment.yaml.liquid index b6e49f9b..4788e118 100644 --- a/catalogs/data/airbyte/servicedeployment.yaml.liquid +++ b/catalogs/data/airbyte/servicedeployment.yaml.liquid @@ -2,7 +2,7 @@ apiVersion: deployments.plural.sh/v1alpha1 kind: ServiceDeployment metadata: name: airbyte-{{ context.cluster }} - namespace: infra + namespace: apps spec: namespace: airbyte git: @@ -13,9 +13,11 @@ spec: name: infra namespace: infra helm: - version: "x.x.x" + version: "1.x.x" chart: airbyte - url: https://app.plural.sh/cm/airbyte + repository: + name: airbyte + namespace: apps valuesFiles: - {{ context.cluster }}.yaml.liquid imports: diff --git a/setup/catalogs/data/airbyte.yaml b/setup/catalogs/data/airbyte.yaml index e446643b..598304be 100644 --- a/setup/catalogs/data/airbyte.yaml +++ b/setup/catalogs/data/airbyte.yaml @@ -38,7 +38,7 @@ spec: Set up airbyte on {{ context.cluster }} ({{ context.cloud }}) Will set up an airbyte deployment, including object storage and postgres setup - identifier: pluralsh/plrl-dev-aws # REPLACEME with your own repo slug + identifier: pluralsh/{{ context.cluster }} # REPLACEME with your own repo slug branch: main configuration: - name: cluster