Uploaded image for project: 'Couchbase Kubernetes'
  1. Couchbase Kubernetes
  2. K8S-2421

couchbaseOperator.commandArgs not set correct in Helm Chart 2.1.17

    XMLWordPrintable

Details

    • Task
    • Resolution: Fixed
    • Major
    • None
    • None
    • helm, kubernetes
    • None
    • 1

    Description

      Background

      When installing the helm chart and setting the "couchbaseOperator.commandArgs.pod-create-timeout" and "couchbaseOperator.commandArgs.zap-level", the "pod-create-timeout" value is ignored. This happens with chart 2.1.17

      Steps to reproduce:

      When installing a chart like so

      ⋊> ~ helm install test --set couchbaseOperator.commandArgs.pod-create-timeout=30m0s --set couchbaseOperator.commandArgs.zap-level=debug couchbase/couchbase-operator --version 2.1.17

      The pood-create-timeout is ignored, as showned in the description:

       
       Host Ports:    0/TCP, 0/TCP
          Command:
            couchbase-operator
          Args:
            --zap-level=debug
      

      Likewise, if we only specify the couchbaseOperator.commandArgs.pod-create-timeout=30m0s then it works

      ⋊> ~ helm install test --set couchbaseOperator.commandArgs.pod-create-timeout=30m0s couchbase/couchbase-operator --version 2.1.17

          Host Ports:    0/TCP, 0/TCP
          Command:
            couchbase-operator
          Args:
            --pod-create-timeout=30m0s
          State:          Running
      
      

      If we use the chart version 2.1.07, we don't hit this error:

      ⋊> ~ helm install test --set couchbaseOperator.commandArgs.pod-create-timeout=30m0s --set couchbaseOperator.commandArgs.zap-level=debug couchbase/couchbase-operator --version 2.1.7

       Host Ports:    0/TCP, 0/TCP
          Command:
            couchbase-operator
            --pod-create-timeout=30m0s
            --zap-level=debug
          State:          Running
            Started:      Wed, 15 Sep 2021 16:09:27 -0700
      

      In addition, the values pod-creation-timeout=30m0s does not take effect when set.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            tommie Tommie McAfee (Inactive)
            tin.tran Tin Tran (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty