Skip to content

Commit

Permalink
fix-bug-341-postgreql-does-not-have-credentials
Browse files Browse the repository at this point in the history
  • Loading branch information
northdpole authored and ptzianos committed Sep 12, 2024
1 parent dc1862a commit 23ab086
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 23 deletions.
22 changes: 12 additions & 10 deletions deploy/dracon/chart/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,10 @@ arangodb:
className: ""
host: ""

postgresql:
# if set, a PostgreSQL instance will be deployed
enabled: true
# this section controls the database that components have access to
# the database should use the Postgres dialect.
# the database is used by the deduplication enricher
database: &psqlConfig
host: ""
auth:
username: ""
Expand All @@ -50,19 +51,20 @@ postgresql:
querystringargs: ""
fullnameOverride: ""

postgresql:
# if set, a PostgreSQL instance will be deployed
enabled: true
<<: *psqlConfig


# this section controls aspects of managing a database used to store deduplication enrichments
# the database should use the Postgres dialect.
deduplication-db-migrations:
# if set, a Job will be deployed that applies migrations to the deduplication database
# the Job will run as part of the post-install/post-upgrade hook
enabled: true
database:
host: ""
auth:
username: ""
password: ""
database: ""
querystringargs: ""
database: *psqlConfig


image:
# registry to use for all
Expand Down
20 changes: 7 additions & 13 deletions deploy/dracon/values/dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,28 +30,22 @@ arangodb:
image:
registry: kind-registry:5000/ocurity/dracon

postgresql:
enabled: true

database:
database: &psqlConfig
host: dracon-postgresql:5432
auth:
username: dracon
password: dracon
database: dracon
postgresPassword: dracon
querystringargs: "sslmode=disable"
host: dracon-postgresql:5432

postgresql:
enabled: true
<<: *psqlConfig

tekton:
enabled: true

deduplication-db-migrations:
enabled: true
database:
auth:
username: dracon
password: dracon
database: dracon
postgresPassword: dracon
querystringargs: "sslmode=disable"
host: dracon-postgresql:5432
database: *psqlConfig

0 comments on commit 23ab086

Please sign in to comment.