cockroach-operator icon indicating copy to clipboard operation
cockroach-operator copied to clipboard

Need to setup cluster using operator having predefined database and user access to the database

Open skhilar opened this issue 3 years ago • 2 comments

We want to deploy the cockroach db cluster in k8s using operator. We need to have predefined database other than default one and user with password having access to the predefined database. What is the way to configure in operator. I can see helm chart is providing by executing k8s job. But I do not find configuration to do in operator.

skhilar avatar Nov 04 '21 09:11 skhilar

I agree, it would be wonderful if we had a way to generate even a user and password from a given k8s secret or otherwise.

I believe this is already covered here in issue #616 however.

goshlanguage avatar Jan 07 '22 16:01 goshlanguage

A very nice way to do this is by creating dedicated CRD's for this. User, database, and so on. This is way really GitOps friendly.

Wouter0100 avatar May 09 '23 18:05 Wouter0100