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

Helm Upgrade from 2.2.3 to 2.3.0 fails

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 2.3.0
    • None
    • helm
    • None
    • 1

    Description

      To install 2.2.3:

      helm install cb-example couchbase/couchbase-operator
      

      To update and create new CRDs:

      kubectl replace -f crd.yaml
      kubectl create -f crd.yaml
      

      To upgrade the helm deployment:

      helm upgrade cb-example https://github.com/couchbase-partners/helm-charts/releases/download/couchbase-operator-2.3.0/couchbase-operator-2.3.002.tgz -f overrides.yaml
      

      where overrides.yaml is (using locally built images):

      couchbaseOperator:
        image:
          repository: couchbase/couchbase-operator
          tag: 2.3.0
      admissionController:
        image:
          repository: couchbase/couchbase-admission-controller
          tag: 2.3.0
      

      Gives the error:

      Error: UPGRADE FAILED: template: couchbase-operator/templates/couchbase-tls.yaml:1:12: executing "couchbase-operator/templates/couchbase-tls.yaml" at <include "couchbase-cluster.tls.is-legacy" .>: error calling include: template: couchbase-operator/templates/_helpers.tpl:286:80: executing "couchbase-cluster.tls.is-legacy" at <$deprecatedClusterSpec.spec.networking.tls.static>: nil pointer evaluating interface {}.static
      

      This is my understanding of the upgrade procedure, but if I've missed a step let me know and I can retry!

      Attachments

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

        Activity

          People

            tommie Tommie McAfee (Inactive)
            roo.thorp Roo Thorp
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty