Skip to content

Commit

Permalink
Setting the values to default
Browse files Browse the repository at this point in the history
  • Loading branch information
adishM98 committed Nov 8, 2023
1 parent e368137 commit 1442504
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 10 deletions.
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

0 comments on commit 1442504

Please sign in to comment.