Skip to content

Commit

Permalink
fix: workaround the dash in oxd-server
Browse files Browse the repository at this point in the history
  • Loading branch information
misba7 committed Mar 7, 2024
1 parent 307bcb8 commit 370d349
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,9 @@ Create GLUU_JAVA_OPTIONS ENV for passing custom work and detailed logs
*/}}
{{- define "oxd-server.customJavaOptions"}}
{{ $custom := "" }}
{{- if .Values.global.oxd-server.gluuCustomJavaOptions }}
{{ $custom = printf "%s" .Values.global.oxd-server.gluuCustomJavaOptions }}
{{- $gluuCustomJavaOptions := index .Values.global "oxd-server" "gluuCustomJavaOptions" }}
{{- if $gluuCustomJavaOptions }}
{{- $custom := printf "%s" $gluuCustomJavaOptions }}
{{- end}}
{{ $customJavaOptions := printf "%s -DCN_IDP_HOST=http://oxshibboleth:8080" $custom }}
{{ $customJavaOptions | trimSuffix " " | quote }}
Expand Down

0 comments on commit 370d349

Please sign in to comment.