8000 [Feature Request] Add support PostgreSQL chart dependency by luismacosta · Pull Request #686 · temporalio/helm-charts · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

[Feature Request] Add support PostgreSQL chart dependency #686

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

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open
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
4 changes: 4 additions & 0 deletions charts/temporal/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ dependencies:
repository: https://grafana.github.io/helm-charts
version: 8.0.2
condition: grafana.enabled
- name: postgresql
repository: oci://registry-1.docker.io/bitnamicharts
version: 16.6.2
condition: postgresql.enabled
# A chart can be either an 'application' or a 'library' chart.
#
# Application charts are a collection of templates that can be packaged into versioned archives
Expand Down
46 changes: 46 additions & 0 deletions charts/temporal/ci/postgresql.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
cassandra:
enabled: false
prometheus:
enabled: false
grafana:
enabled: false
elasticsearch:
enabled: false

postgresql:
enabled: true
global:
postgresql:
auth:
username: antonio
password: brito
primary:
initdb:
scripts:
01-init.sql: |-
CREATE DATABASE "temporal";
CREATE DATABASE "temporal_visibility";
commonAnnotations:
"helm.sh/hook": "pre-install"

server:
config:
persistence:
default:
driver: "sql"
sql:
driver: "postgres12"
host: "temporal-postgresql.temporal-tests.svc.cluster.local"
port: 5432
database: "temporal"
user: "antonio"
password: "brito"
visibility:
driver: "sql"
sql:
driver: "postgres12"
host: "temporal-postgresql.temporal-tests.svc.cluster.local"
port: 5432
database: "temporal_visibility"
user: "antonio"
password: "brito"
2 changes: 2 additions & 0 deletions charts/temporal/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -541,3 +541,5 @@ cassandra:
type: ClusterIP
mysql:
enabled: false
postgresql:
enabled: false
0