Fix escaping of parameter values and extra spaces.

- document the newly introduced option (for now in the main README)
- make query error output more readable.
This commit is contained in:
Oleksii Kliukin
2017-11-22 10:43:35 +01:00
parent 415a7fdc4d
commit 71f57c9fe3
3 changed files with 25 additions and 8 deletions
+8
View File
@@ -201,6 +201,14 @@ The following steps will get you the docker image built and deployed.
$ make docker
$ sed -e "s/\(image\:.*\:\).*$/\1$TAG/" manifests/postgres-operator.yaml|kubectl --context minikube create -f -
### Operator Configuration Parameters
* api_roles_configuration - a map represented as *"key1:value1,key2:value2"*
of configuration parameters applied to the roles fetched from the API.
By default is set to *"log_statement:all"*. See [PostgreSQL documentation on ALTER ROLE .. SET](https://www.postgresql.org/docs/current/static/sql-alterrole.html) for to learn about the available options.
### Debugging the operator itself
There is a web interface in the operator to observe its internal state. The operator listens on port 8080. It is possible to expose it to the localhost:8080 by doing: