Support database creation
I'd like to also create databases similar to DatabaseUser resources.
Maybe this is confusing with the 'Database' prefix naming convention. Perhaps it should be 'DatabaseServer' instead so that we can use DatabaseServerDatabase and DatabaseServerUser.
Making sure I understand what you want, since the naming is confusing:
We support creating and managing a DO Managed Database instance (which is called a Database Cluster in the DO docs and API) via the DatabaseCluster CRD. The API does also support creating a "database" within a database cluster; that isn't currently supported in the operator, but there's no reason it couldn't be.
Are you wishing to manage databases within a database cluster via the operator?
Making sure I understand what you want, since the naming is confusing:
We support creating and managing a DO Managed Database instance (which is called a Database Cluster in the DO docs and API) via the
DatabaseClusterCRD. The API does also support creating a "database" within a database cluster; that isn't currently supported in the operator, but there's no reason it couldn't be.Are you wishing to manage databases within a database cluster via the operator?
Yes, exactly I wish to create a Database from the do-operator which should be possible as the DO API also support this.
If you want to take it to the next level; there can be something like a DatabasePermission resource that grants privileges on the newly created database (with the do-operator) this allows developers to create everything dynamically from Kubernetes.
Thanks for confirming! Agreed, this would be a good feature.
Is there any progress on such a feature? I've been trying to implement things as a non-go developer, but haven't had that much luck, although i'm open to try again with some help to be on the right direction.