Skip to content

Commit

Permalink
fix(daml-on-postgres): correct daml-on-postgres entrypoint
Browse files Browse the repository at this point in the history
Also add DAML_GRPC_PORT

Signed-off-by: Kevin O'Donnell <kevin@blockchaintp.com>
  • Loading branch information
scealiontach committed Aug 26, 2020
1 parent ac5d3c0 commit 03d9d8c
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion charts/daml-on-postgres/Chart.yaml
Expand Up @@ -14,7 +14,7 @@ type: application

# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
version: 0.0.5
version: 0.0.6

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application.
Expand Down
6 changes: 4 additions & 2 deletions charts/daml-on-postgres/templates/daml-statefulset.yaml
Expand Up @@ -48,7 +48,7 @@ spec:
- -xc
args:
- |
/opt/digitalasset/bin/entrypoint.sh -w {{- if .Values.daml.extra_args }}{{- .Values.daml.extra_args |quote }}{{- end }}
/opt/digitalasset/bin/entrypoint.sh -a 0.0.0.0 -w {{- if .Values.daml.extra_args }}{{- .Values.daml.extra_args |quote }}{{- end }}
env:
- name: POSTGRES_USER
value: {{ .Values.postgres.user }}
Expand All @@ -66,7 +66,9 @@ spec:
- name: POSTGRES_DB
value: {{ .Values.postgres.database }}
- name: POSTGRES_PORT
value: {{ .Values.postgres.port | quote}}
value: {{ .Values.postgres.port | quote }}
- name: DAML_GRPC_PORT
value: {{ .Values.daml.rpc.port | quote }}
- name: LEDGER_ID
value: {{.Values.daml.ledgerId }}
restartPolicy: Always
Expand Down
4 changes: 2 additions & 2 deletions charts/daml-on-postgres/values.yaml
Expand Up @@ -16,8 +16,8 @@ deployment:

daml:
image:
repository: blockchaintp/daml-on-postgres
tag: BTP2.0
repository: dev.catenasys.com:8083/blockchaintp/daml-on-postgres
tag: latest
pullPolicy: IfNotPresent
ledgerId: someIdentifyingString
extra_args:
Expand Down

0 comments on commit 03d9d8c

Please sign in to comment.