mirror of
https://github.com/zalando/postgres-operator.git
synced 2026-10-17 21:55:46 +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
@@ -21,6 +21,7 @@ configuration:
|
||||
pod_terminate_grace_period: 5m
|
||||
pdb_name_format: "postgres-{cluster}-pdb"
|
||||
secret_name_template: "{username}.{cluster}.credentials.{tprkind}.{tprgroup}"
|
||||
cluster_domain: cluster.local
|
||||
oauth_token_secret_name: postgresql-operator
|
||||
pod_role_label: spilo-role
|
||||
spilo_privileged: false
|
||||
|
||||
Reference in New Issue
Block a user