From b4d76f9fc2fb7dc5f9352a0c79339cbf65efe18d Mon Sep 17 00:00:00 2001 From: Alberto Rodriguez Date: Thu, 26 Sep 2024 18:26:32 +0200 Subject: [PATCH] add Neo4j chart as a dependency --- deploy/dracon/chart/Chart.lock | 7 +++++-- deploy/dracon/chart/Chart.yaml | 4 ++++ deploy/dracon/chart/values.yaml | 10 ++++++++++ deploy/dracon/values/dev.yaml | 10 ++++++++++ docs/getting-started.md | 5 +++-- 5 files changed, 32 insertions(+), 4 deletions(-) diff --git a/deploy/dracon/chart/Chart.lock b/deploy/dracon/chart/Chart.lock index 3eab193ea..0cac599ec 100644 --- a/deploy/dracon/chart/Chart.lock +++ b/deploy/dracon/chart/Chart.lock @@ -5,5 +5,8 @@ dependencies: - name: mongodb repository: https://charts.bitnami.com/bitnami version: 15.1.5 -digest: sha256:f5b463f7862318ed8de9439769a72f14320f271c72c80ec7a2a1f1b209959d7a -generated: "2024-08-06T10:52:12.01515499+01:00" +- name: neo4j + repository: https://helm.neo4j.com/neo4j + version: "5.23" +digest: sha256:7f6453b90ab68d22fd24b598590a464c4546a0188273dba521931e80402f56e0 +generated: "2024-09-27T15:07:10.978131093+02:00" diff --git a/deploy/dracon/chart/Chart.yaml b/deploy/dracon/chart/Chart.yaml index b3b72a48c..b0b048ac0 100644 --- a/deploy/dracon/chart/Chart.yaml +++ b/deploy/dracon/chart/Chart.yaml @@ -14,3 +14,7 @@ dependencies: version: 15.1.5 repository: https://charts.bitnami.com/bitnami condition: mongodb.enabled + - name: neo4j + version: 5.23 + repository: https://helm.neo4j.com/neo4j + condition: neo4j.enabled diff --git a/deploy/dracon/chart/values.yaml b/deploy/dracon/chart/values.yaml index 333da2551..c544a0236 100644 --- a/deploy/dracon/chart/values.yaml +++ b/deploy/dracon/chart/values.yaml @@ -50,6 +50,16 @@ postgresql: querystringargs: "" fullnameOverride: "" +neo4j: + # if set, a Neo4j instnace will be deployed + enabled: true + neo4j: + edition: community + name: neo4j + volumes: + data: + mode: defaultStorageClass + # this section controls aspects of managing a database used to store deduplication enrichments # the database should use the Postgres dialect. deduplication-db-migrations: diff --git a/deploy/dracon/values/dev.yaml b/deploy/dracon/values/dev.yaml index 103cd47dd..f67787cf1 100644 --- a/deploy/dracon/values/dev.yaml +++ b/deploy/dracon/values/dev.yaml @@ -40,6 +40,16 @@ postgresql: querystringargs: "sslmode=disable" host: dracon-postgresql:5432 +neo4j: + # if set, a Neo4j instnace will be deployed + enabled: true + neo4j: + edition: community + name: neo4j + volumes: + data: + mode: defaultStorageClass + tekton: enabled: true diff --git a/docs/getting-started.md b/docs/getting-started.md index 1e4d34234..bf6529e9c 100644 --- a/docs/getting-started.md +++ b/docs/getting-started.md @@ -71,6 +71,7 @@ For Dracon pipelines to run, they usually require the following services: 3. Kibana 4. MongoDB 5. Postgres +6. Neo4j We use the Elastic Operator to spin up managed instances of Elasticsearch and Kibana and the bitnami charts to deploy instances of PostgreSQL and MongoDB. @@ -97,8 +98,8 @@ take a couple of minutes, it's perfect time to go get a cup of coffee ;). `espresso cup by @ptzianos` -The Dracon Helm package lists as dependencies the Bitnami charts for Postgres -and MongoDB. The values used are in the `deploy/dracon/values/dev.yaml` file. +The Dracon Helm package lists as dependencies the Bitnami charts for Postgres and + MongoDB and the chart for Neo4j. The values used are in the `deploy/dracon/values/dev.yaml` file. 1. Expose the TektonCD Dashboard