diff --git a/pygluu/kubernetes/templates/helm/gluu/charts/oxshibboleth/templates/_helpers.tpl b/pygluu/kubernetes/templates/helm/gluu/charts/oxshibboleth/templates/_helpers.tpl index cc7be205..eda8b796 100644 --- a/pygluu/kubernetes/templates/helm/gluu/charts/oxshibboleth/templates/_helpers.tpl +++ b/pygluu/kubernetes/templates/helm/gluu/charts/oxshibboleth/templates/_helpers.tpl @@ -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}} diff --git a/pygluu/kubernetes/templates/helm/gluu/charts/oxtrust/templates/_helpers.tpl b/pygluu/kubernetes/templates/helm/gluu/charts/oxtrust/templates/_helpers.tpl index d8b8a680..89e80a68 100644 --- a/pygluu/kubernetes/templates/helm/gluu/charts/oxtrust/templates/_helpers.tpl +++ b/pygluu/kubernetes/templates/helm/gluu/charts/oxtrust/templates/_helpers.tpl @@ -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}}