Oteemo / charts

Helm chart repository
https://oteemo.github.io/charts
MIT License
181 stars 234 forks source link

Can't disable sysctl init container #256

Open VanherpeDries opened 3 years ago

VanherpeDries commented 3 years ago

I tried the helm chart to disable sysctl init container

  initSysctl:
    enabled: false

Which still creates the init container

namloc2001 commented 3 years ago

Hi, assuming you are referring to SonarQube chart? If you look at this line in the deployment.yaml, you'll see there is an or condition: {{- if or .Values.initSysctl.enabled .Values.elasticsearch.configureNode }}.

Can you please confirm the setting you have here in the values.yaml for elasticsearch.configureNode ?

nixel2007 commented 3 years ago

Hi, @namloc2001!

Setting elasticsearch.configureNode to false fixes the problem.