Uploaded image for project: 'ONAP Operations Manager'
  1. ONAP Operations Manager
  2. OOM-1389

On disabling HELM subcharts

XMLWordPrintable

      As discussed with michaelobrien today, there is no implemented functionality in the HELM LOG chart's subcharts to be disabled by default. In other words, when the HELM LOG chart is deployed, all its three subcharts (logstash, ES, kibana) get deployed with no option for user to disable these subcharts directly through values.yaml. The end result for this to make sure this task is completed is to prove the following:

       

      • Create a HELM release of the LOG chart
      # helm install -n log local/log -f my-log-modifications.yaml
      

       

      • my-log-modifications.yaml contains the following (installs all of log chart - including the 3 subcharts):
      log:
        enabled: true
      

       

      • Modify my-log-modifications.yaml so that I can disable one (or more) subcharts (in the case below, disable and delete all k8s resources related to logstash):
      log:
        enabled: true # Keeps master log chart enabled (?)
        log-logstash:
          enabled: false # Specify that I want logstash subchart disabled

       

      • Run HELM upgrade to execute the action of disabling the subchart(s) you selected, ultimately seeing no k8s resources related to the disabled subchart(s)
      # helm upgrade log local/log -f my-log-modifications.yaml)
      

            melliott melliott
            ha076r ha076r
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: