title: How to disable xpack.security.enabled from helm char in elasticsearch deployment on k8s
body: <p>Is there a way to disable xpack.security.enabled to false from helm chart during elasticsearch deployment on a K8s cluster?</p>
  
  <p>I am getting the below error while reindexing.</p>
  
  <pre><code>"error" : {
      "type" : "s_s_l_handshake_exception",
      "reason" : "PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target",
      "caused_by" : {
        "type" : "validator_exception",
        "reason" : "PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target",
        "caused_by" : {
          "type" : "sun_cert_path_builder_exception",
          "reason" : "unable to find valid certification path to requested target"
        }
      }
    }
  </code></pre>
  
  <p>I am not able to edit the elastisearch.yml on the pods as those files are readonly.</p>
  
  <p>Anyway of doing it through helm?</p>