Skip to content

Commit

Permalink
inferred hardcoded values from values.yml file
Browse files Browse the repository at this point in the history
  • Loading branch information
adishM98 committed May 25, 2023
1 parent 4d5fa09 commit 0b32cae
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 7 deletions.
2 changes: 1 addition & 1 deletion charts/tooljet/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ dependencies:
version: "16.13.2"
repository: "https://charts.bitnami.com/bitnami"

version: 2.1.5
version: 2.6.0
appVersion: "v1.21.3"
2 changes: 1 addition & 1 deletion charts/tooljet/templates/deployment-pgrst.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ spec:
containers:
- name: {{ .Chart.Name }}
ports:
- containerPort: 3000
- containerPort: {{ .Values.postgrest.containerPort }}
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
imagePullPolicy: {{ .Values.image.pullPolicy }}
env:
Expand Down
7 changes: 3 additions & 4 deletions charts/tooljet/templates/service-pgrst.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ spec:
type: NodePort
ports:
- name: http
port: 80
targetPort: 3000
protocol: TCP
nodePort: 30778
port: {{ .Values.postgrest.port }}
targetPort: {{ .Values.postgrest.targetPort }}
protocol: TCP
6 changes: 5 additions & 1 deletion charts/tooljet/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ postgresql:
# Keys below are ignored if auth.existingSecret with key password is provided
postgresPassword: "postgres" # Password for the "postgres" admin user
password: "postgres"
database: "tooljet_development"
database: "tooljet_production"
primary:
persistence:
enabled: true
Expand Down Expand Up @@ -90,6 +90,10 @@ image:
tag: v10.1.1.20221215
pullPolicy: IfNotPresent

postgrest:
targetPort: 3000
port: 80
containerPort: 3000

service:
type: ClusterIP
Expand Down

0 comments on commit 0b32cae

Please sign in to comment.