From b18cf2c71077fec1f4873f3e34249c206928215d 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.yaml | 4 ++++ deploy/dracon/chart/values.yaml | 10 ++++++++++ deploy/dracon/values/dev.yaml | 10 ++++++++++ docs/getting-started.md | 5 +++-- 4 files changed, 27 insertions(+), 2 deletions(-) diff --git a/deploy/dracon/chart/Chart.yaml b/deploy/dracon/chart/Chart.yaml index b3b72a48c..8240a1484 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://charts.bitnami.com/bitnami + 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