db-operator
db-operator copied to clipboard
How to configure the database configuration file
How to configure the database configuration file
mysql.cnf and postgresql.conf pg_hba.conf
hi,
we not managing this files with the db-operator.
you have 2 options for the db-operator.
- using google cloud sql (there you can define the API body to create a related db instance and maybe you preferred otions, but depends on the cloud sql api from google. https://cloud.google.com/sql/docs/mysql/admin-api/rest/v1/instances#DatabaseInstance ) (https://github.com/kloeckner-i/db-operator/blob/master/docs/creatinginstances.md#googlecloudsqldbinstance)
- bring your own db instance (in db-operator the generic type). For this you need to create your db instance on your own with the related options in your mysql.cnf, postgresql.conf or pg_hba.conf (https://github.com/kloeckner-i/db-operator/blob/master/docs/creatinginstances.md#genericdbinstance)
Hope it's answer your question.
close ticket, related it's out of the scope of the db-operator.