(Migrated from https://github.com/syndesisio/syndesis/issues/6477)
Author: Aiden Keating
[x] Feature request
[ ] Regression (a behavior that used to work and stopped working in a new release)
[ ] Bug report [!-- Please search GitHub for a similar issue or PR before submitting --]
[ ] Documentation issue or request
Currently, the Syndesis operator will provision a Postgres database as part of it's setup.
There is not a way in the Syndesis custom resource to specify that you'd like the operator to not provision this in-cluster Postgres and instead use an external Postgres instance, for example one hosted on AWS, by providing connection string info in the Syndesis CR.
The feature request would be to add an a boolean option to the [
object|https://github.com/syndesisio/syndesis/blob/master/install/operator/deploy/crds/syndesis_v1alpha1_syndesis_crd.yaml#L42] in the Syndesis CR, for example
When set to
the operator would skip provisioning the in-cluster Postgres and attempt to look for a
in the Namespace with an expected name, for example
. This Secret should contain connection details for an external Postgres instance (username, password, database, host and port)
The name of the Secret could then be overridden if needed with an optional
attribute in the
false` when it is not specified in the custom resource.
Any suggestions about this would be appreciated. I'd be happy to put together a PR around this.