+ {{- $flavor := include "common.flavor" . }}
+ {{- $heap := pluck $flavor .Values.heap | first }}
+ {{- if (hasKey $heap "max") }}
+ - name: MAX_HEAP_SIZE
+ value: {{ $heap.max }}
+ {{- end }}
+ {{- if (hasKey $heap "new") }}
+ - name: HEAP_NEWSIZE
+ value: {{ $heap.new }}
+ {{- end }}