Couchbase operator reset password issue

I am trying to play around with Couchbase operator for Kubernetes. The documentation seems to be very well written, so I didn’t expect to have such an issue - all attempts to change administrator password via updating k8s secret fails with following message in operator log:

“The password must not contain control characters”

{"level":"info","ts":1658225985.0907803,"logger":"cluster","msg":"Reconciliation failed","cluster":"datascience/ds-couchbase","error":"unexpected status code: request failed POST http://ds-couchbase-0000.ds-couchbase.datascience.svc:8091/settings/web 400 Bad Request: {\"errors\":{\"password\":\"The password must not contain control characters\"}}","stack":"github.com/couchbase/couchbase-operator/pkg/util/couchbaseutil.Client.doRequest\n\tgithub.com/couchbase/couchbase-operator/pkg/util/couchbaseutil/core.go:209\ngithub.com/couchbase/couchbase-operator/pkg/util/couchbaseutil.(*Client).Post\n\tgithub.com/couchbase/couchbase-operator/pkg/util/couchbaseutil/core.go:258\ngithub.com/couchbase/couchbase-operator/pkg/util/couchbaseutil.(*Request).On.func1\n\tgithub.com/couchbase/couchbase-operator/pkg/util/couchbaseutil/api.go:220\ngithub.com/couchbase/couchbase-operator/pkg/util/couchbaseutil.(*Request).On\n\tgithub.com/couchbase/couchbase-operator/pkg/util/couchbaseutil/api.go:247\ngithub.com/couchbase/couchbase-operator/pkg/cluster.(*Cluster).initMember\n\tgithub.com/couchbase/couchbase-operator/pkg/cluster/member.go:391\ngithub.com/couchbase/couchbase-operator/pkg/cluster.(*Cluster).configureInitialMember\n\tgithub.com/couchbase/couchbase-operator/pkg/cluster/member.go:324\ngithub.com/couchbase/couchbase-operator/pkg/cluster.(*Cluster).create\n\tgithub.com/couchbase/couchbase-operator/pkg/cluster/cluster.go:330\ngithub.com/couchbase/couchbase-operator/pkg/cluster.(*Cluster).reconcile\n\tgithub.com/couchbase/couchbase-operator/pkg/cluster/reconcile.go:148\ngithub.com/couchbase/couchbase-operator/pkg/cluster.(*Cluster).runReconcile\n\tgithub.com/couchbase/couchbase-operator/pkg/cluster/cluster.go:481\ngithub.com/couchbase/couchbase-operator/pkg/cluster.(*Cluster).Update\n\tgithub.com/couchbase/couchbase-operator/pkg/cluster/cluster.go:524\ngithub.com/couchbase/couchbase-operator/pkg/controller.(*CouchbaseClusterReconciler).Reconcile\n\tgithub.com/couchbase/couchbase-operator/pkg/controller/controller.go:90\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Reconcile\n\tsigs.k8s.io/controller-runtime@v0.11.0/pkg/internal/controller/controller.go:114\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler\n\tsigs.k8s.io/controller-runtime@v0.11.0/pkg/internal/controller/controller.go:311\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem\n\tsigs.k8s.io/controller-runtime@v0.11.0/pkg/internal/controller/controller.go:266\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2\n\tsigs.k8s.io/controller-runtime@v0.11.0/pkg/internal/controller/controller.go:227"}

I followed the tutorial and encode password using base64 as said in Rotate the Administrator Password | Couchbase Docs. Tried to use password without special characters (which makes no sense).

Also initial creation of cluster with password different from “password” from tutorial leads to an error.

Could anyone suggest how to make it working? Thanks in advance!

Stupid error on my side - forgot to use -n while encoding admin password in base64: