FoundationDB / fdb-kubernetes-operator

A kubernetes operator for FoundationDB
Apache License 2.0
245 stars 82 forks source link

Fetch connection string directly from FDB #1002

Closed johscheuer closed 2 years ago

johscheuer commented 2 years ago

Instead of using fdbcli in the GetConnectionString method we should fetch the connection string directly from FDB. We can use the special key \xff\xff/connection_string for that, in a similar fashion we already fetch the status from the database see: https://github.com/FoundationDB/fdb-kubernetes-operator/blob/master/fdbclient/common.go#L80-L124

johscheuer commented 2 years ago

Done in https://github.com/FoundationDB/fdb-kubernetes-operator/pull/1262