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

Helm changes to connect to external postgres database #14

Merged
merged 2 commits into from
Nov 8, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
Prev Previous commit
Setting the values to default
  • Loading branch information
adishM98 committed Nov 8, 2023
commit 1442504485ad3c8a0c93da74148cb49e927b58c8
8 changes: 4 additions & 4 deletions charts/tooljet/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -86,13 +86,13 @@ spec:
value: {{ .Values.env.jwt_secret }}

- name: REDIS_HOST
value: {{ .Values.enterprise.REDIS_HOST }}
value: {{ .Values.redis_pod.REDIS_HOST }}
- name: REDIS_PORT
value: {{ .Values.enterprise.REDIS_PORT }}
value: {{ .Values.redis_pod.REDIS_PORT }}
- name: REDIS_USER
value: {{ .Values.enterprise.REDIS_USER }}
value: {{ .Values.redis_pod.REDIS_USER }}
- name: REDIS_PASSWORD
value: {{ .Values.enterprise.REDIS_PASSWORD }}
value: {{ .Values.redis_pod.REDIS_PASSWORD }}
envFrom:
- secretRef:
name: {{ .Values.apps.tooljet.secret.name }}
10 changes: 4 additions & 6 deletions charts/tooljet/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ postgresql:
storageClass: ""

external_postgresql: #Please enter your external database vaules, Please set above posgtresql as false.
enabled: true
enabled: false
PG_HOST: #Database hostname
PG_USER: #Database username
PG_PASS: #Database password
Expand All @@ -69,23 +69,21 @@ env:
DEPLOYMENT_PLATFORM: "k8s:helm"
db_uri: "postgres://postgres:postgres@tooljet-postgresql.default.svc.cluster.local:5432/tooljet_db"
jwt_secret: "779ce303294a7d84a2aea9ff1ef1912f9ac57220a0dd2c0861a11ca5ae6c5817"
ENABLE_TOOLJET_DB: '"false"'
ENABLE_TOOLJET_DB: '"true"'
TOOLJET_DB_USER: "postgres"
TOOLJET_DB_HOST: "tooljet-postgresql"
TOOLJET_DB_PASS: "postgres"
TOOLJET_DB: "tooljet_db"
PGRST_HOST: "tooljet-postgrest.default.svc.cluster.local"

tooljetdb_external_postgresql:
enabled: true
enabled: false
TOOLJET_DB_USER: #Database username
TOOLJET_DB_HOST: #Database hostname
TOOLJET_DB_PASS: #Database password
db_uri: #postgres://<postgres_username>:<postgres_password><@postgres_hostname>/<database_name>

enterprise:
enabled: false
LICENSE_KEY: ""
redis_pod:
REDIS_HOST: "redis-master"
REDIS_PORT: '"6379"'

Expand Down