Expose configuration of the Unicorn memory constraints from `unicorn.rb`
Summary
We currently hard code the values that control the unicorn memory killer, but we should expose them even if rarely configured by a user of the chart.
Current behavior
ENV['GITLAB_UNICORN_MEMORY_MIN'] = (400 * 1 << 20).to_s
ENV['GITLAB_UNICORN_MEMORY_MAX'] = (650 * 1 << 20).to_s
Expected behavior
ENV['GITLAB_UNICORN_MEMORY_MIN'] = ({{ .Values.memory.min | toInt }} * 1 << 20).to_s
ENV['GITLAB_UNICORN_MEMORY_MAX'] = ({{ .Values.memory.max | toInt }} * 1 << 20).to_s
Versions
- Chart:
1.3.4
|master
@ 90390752
Edited by Jason Plum