Skip to content

Commit

Permalink
updating java option for gateway (#50)
Browse files Browse the repository at this point in the history
  • Loading branch information
jeanmi151 authored Sep 5, 2023
1 parent 41289ec commit 801bff1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion templates/gateway/gateway-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ spec:
imagePullPolicy: Always
env:
- name: JAVA_TOOL_OPTIONS
value: "-Dgeorchestra.datadir=/etc/georchestra -Dspring.profiles.active=docker"
value: {{ $webapp.environment.JAVA_TOOL_OPTIONS }}
{{- include "georchestra.service-envs" . | nindent 10 }}
{{- include "georchestra.common-envs" . | nindent 10 }}
{{- include "georchestra.ldap-envs" . | nindent 10 }}
Expand Down
3 changes: 3 additions & 0 deletions values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,9 @@ georchestra:
gateway:
enabled: false
docker_image: georchestra/gateway:latest
environment:
JAVA_TOOL_OPTIONS: "-Dgeorchestra.datadir=/etc/georchestra -Dspring.config.location=${georchestra.datadir}/gateway/application.yaml -Dspring.profiles.active=docker"
extra_environment: []
datadir:
volume:
- name: georchestra-datadir
Expand Down

0 comments on commit 801bff1

Please sign in to comment.