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

Need ability to override bucket name

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Major
    • 2.0.1
    • None
    • operator
    • None

    Description

      The way that the bucket resources are implemented is incredibly restrictive.
      Currently marked as an improvement, but I was close to moving to a bug considering this is a regression in behavior.

      For example, it's now impossible to have 2 clusters in a single namespace with the same bucket name but with different settings.
      This would be a problem in dev environments as it's often non-trivial to change bucket names within an application due to it being hardcoded in n1ql queries, connection code etc.

      A second problem is that Kubernetes metadata names have a fixed regex that does not match the regex for Couchbase buckets.
      An example here is the use of underscore, which is very popular for use in bucket names.
      Moving from 1.2 to 2.0 it's now impossible to use your old buckets which had underscores in.

      Both of these issues would be solved if there was the ability to decouple the bucket name from the name of the Kubernetes resource.

      Attachments

        Issue Links

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

          Activity

            People

              simon.murray Simon Murray
              matt.carabine Matt Carabine (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty