mirror of
https://github.com/zalando/postgres-operator.git
synced 2026-10-05 12:31:29 +02:00
database.go: remove hardcoded .svc.cluster.local dns suffix (#561)
* database.go: substitute hardcoded .svc.cluster.local dns suffix with config parameter Use the pod's configured dns search path, for clusters where .svc.cluster.local is not correct.
This commit is contained in:
committed by
Sergey Dudoladov
parent
3ffc8ac5fa
commit
ebda39368e
@@ -103,6 +103,12 @@ In this definition, the operator overwrites the account's name to match
|
||||
`pod_service_account_name` and the `default` namespace to match the target
|
||||
namespace. The operator performs **no** further syncing of this account.
|
||||
|
||||
## Non-default cluster domain
|
||||
|
||||
If your cluster uses a different dns domain than `cluster.local`, this needs
|
||||
to be set in the operator ConfigMap. This is used by the operator to connect
|
||||
to the clusters after creation.
|
||||
|
||||
## Role-based access control for the operator
|
||||
|
||||
The `manifests/operator-service-account-rbac.yaml` defines cluster roles and
|
||||
|
||||
Reference in New Issue
Block a user