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

CRD not allowing collections with name length > than 30 characters to be created

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 2.3.0, 2.3.0-beta
    • 2.3.0-beta
    • operator
    • None
    • 1

    Description

      2.3.0-151

      Tried to create a collection with name length > 30 characters:

      ---
      apiVersion: couchbase.com/v2
      kind: CouchbaseCollection
      metadata:
        name: collection2
        labels:
          collections: antique
      spec:
        name: fweuifweiufg3eiufbweiufbwergreg
      

      DAC throws error:
      arunkumarsenthilnathan@Arunkumars-MacBook-Pro couchbase-autonomous-operator-kubernetes_2.3.0-beta1-macos-x86_64 % kubectl create -f collection.yml
      The CouchbaseCollection "collection2" is invalid: spec.name: Invalid value: "fweuifweiufg3eiufbweiufbwergreg": spec.name in body should be at most 30 chars long

      As per MB-41836, we should collection name length to be 251 bytes long

      Attachments

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

        Activity

          People

            simon.murray Simon Murray
            arunkumar Arunkumar Senthilnathan (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