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-bug-341-postgreql-does-not-have-credentials #342

Merged
merged 2 commits into from
Sep 12, 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
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
ptzianos marked this conversation as resolved.
Show resolved Hide resolved


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