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

updating java option for gateway #50

Merged
merged 7 commits into from
Sep 5, 2023
Merged
Show file tree
Hide file tree
Changes from 3 commits
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
2 changes: 1 addition & 1 deletion Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,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.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.10.0
version: 0.10.1
jeanmi151 marked this conversation as resolved.
Show resolved Hide resolved

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand Down
4 changes: 3 additions & 1 deletion templates/gateway/gateway-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,9 @@ spec:
imagePullPolicy: Always
env:
- name: JAVA_TOOL_OPTIONS
value: "-Dgeorchestra.datadir=/etc/georchestra -Dspring.profiles.active=docker"
value: {{ $webapp.java_tool_options }}
- name: JAVA_OPTS
value: {{ $webapp.java_opts }}
{{- include "georchestra.service-envs" . | nindent 10 }}
{{- include "georchestra.common-envs" . | nindent 10 }}
{{- include "georchestra.ldap-envs" . | nindent 10 }}
Expand Down
2 changes: 2 additions & 0 deletions values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,8 @@ georchestra:
gateway:
enabled: false
docker_image: georchestra/gateway:latest
java_tool_options: "-Dgeorchestra.datadir=/etc/georchestra -Dspring.config.location=${georchestra.datadir}/gateway/application.yaml -Dspring.profiles.active=docker"
jeanmi151 marked this conversation as resolved.
Show resolved Hide resolved
jeanmi151 marked this conversation as resolved.
Show resolved Hide resolved
java_opts: "-Dgeorchestra.datadir=/etc/georchestra"
datadir:
volume:
- name: georchestra-datadir
Expand Down
Loading