Details
-
Bug
-
Resolution: Fixed
-
Major
-
2.3.0-beta
-
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