kube-arangodb icon indicating copy to clipboard operation
kube-arangodb copied to clipboard

how to connect to the single server database with pyarango

Open liulfy opened this issue 2 years ago • 1 comments

when I deployment a single server database using the following yaml: apiVersion: "database.arangodb.com/v1alpha" kind: "ArangoDeployment" metadata: name: "single-server" spec: mode: Single I don't know where to set the user and password and I cannot connect to this database with pyarango.

liulfy avatar Jul 20 '22 03:07 liulfy

Hello!

If you set this https://www.arangodb.com/docs/stable/deployment-kubernetes-deployment-resource.html#specbootstrappasswordsecretnamesroot-string to auto then secret with credentials will be generated.

By default your username is root and password is empty.

Best Regards, Adam.

ajanikow avatar Jul 24 '22 17:07 ajanikow

thanks!

liulfy avatar Sep 06 '22 08:09 liulfy