Skip to content

Commit

Permalink
fix: remove arguments from helpers file
Browse files Browse the repository at this point in the history
  • Loading branch information
misba7 committed Mar 11, 2024
1 parent 267459c commit 99d88a7
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,6 @@ Create GLUU_JAVA_OPTIONS ENV for passing custom work and detailed logs
{{ $container := "" }}
{{ $xmlsec := "" }}
{{ $custom := "" }}
{{- $custom := printf "-XX:MaxDirectMemorySize=%sm -Xmx%s" (.Values.resources.limits.memory | replace "Mi" "") (sub (.Values.resources.limits.memory | replace "Mi" "") 300) }}
{{- if .Values.global.oxshibboleth.gluuCustomJavaOptions }}
{{ $custom = printf "%s " .Values.global.oxshibboleth.gluuCustomJavaOptions }}
{{- end}}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,6 @@ Create GLUU_JAVA_OPTIONS ENV for passing custom work and detailed logs
*/}}
{{- define "oxtrust.customJavaOptions"}}
{{ $custom := "" }}
{{- $custom := printf "-XX:MaxDirectMemorySize=%sm -Xmx%s" (.Values.resources.limits.memory | replace "Mi" "") (sub (.Values.resources.limits.memory | replace "Mi" "") 300) }}
{{- if .Values.global.oxtrust.gluuCustomJavaOptions }}
{{ $custom = printf "%s" .Values.global.oxtrust.gluuCustomJavaOptions }}
{{- end}}
Expand Down

0 comments on commit 99d88a7

Please sign in to comment.