Skip to content

Commit

Permalink
HELM-42 Some system properties may be missed if too many properties a…
Browse files Browse the repository at this point in the history
…re defined
  • Loading branch information
gsautner committed Aug 24, 2023
1 parent 3ffd9f1 commit 8314252
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion charts/xwiki/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v2
description: XWiki is a free wiki software platform written in Java with a design emphasis on extensibility. XWiki is an enterprise wiki. It includes WYSIWYG editing, OpenDocument based document import/export, semantic annotations and tagging, and advanced permissions management.
name: xwiki
version: 1.1.1
version: 1.1.2
type: application
keywords:
- xwiki
Expand Down
5 changes: 4 additions & 1 deletion charts/xwiki/templates/initialization-configmaps.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,12 @@ data:
{{- end }}
{{- end }}
## Clear contents of /tmp/java_opts.txt so that we don't add extra arguments at each pod restart.
echo "" > /tmp/java_opts.txt
{{- range $file, $value := .Values.properties }}
export JAVA_OPTS="${JAVA_OPTS} -D{{ $file }}={{ $value }}"
echo "-D{{ $file }}={{ $value }}" >> /tmp/java_opts.txt
{{- end }}
export JAVA_OPTS="${JAVA_OPTS} @/tmp/java_opts.txt"
{{- if .Values.glowroot.enabled }}
mkdir -p /usr/local/xwiki/data/glowroot
Expand Down

0 comments on commit 8314252

Please sign in to comment.