fix(auth):timescaledb的passfile可以复用pg的,但需要参数指定

This commit is contained in:
Yu Sun
2022-10-08 10:19:41 +08:00
parent f45e3534ad
commit 529f6f695b
2 changed files with 2 additions and 1 deletions

View File

@@ -64,7 +64,7 @@ https://www.postgresql.org/docs/current/app-psql.html#APP-PSQL-INTERPOLATION
value: |
\c :"dbname"
SELECT *
FROM add_data_node(:'data_node_name'::name, host => :'data_node_dns', if_not_exists => true, password => 'big_dick')
FROM add_data_node(:'data_node_name'::name, host => :'data_node_dns', if_not_exists => true)
- name: PGPASSWORD
valueFrom:
secretKeyRef:

View File

@@ -77,6 +77,7 @@ postgresql:
min_wal_size: 256MB
max_wal_size: 512MB
temp_file_limit: 1GB
timescaledb.passfile: '/var/lib/postgresql/.pgpass'
# https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#nodeselector
nodeSelector: {}