declare tools (#1)

Reviewed-on: https://gitea.arcodange.duckdns.org/arcodange-org/tools/pulls/1
Co-authored-by: Gabriel Radureau <arcodange@gmail.com>
Co-committed-by: Gabriel Radureau <arcodange@gmail.com>
This commit is contained in:
2024-09-01 23:04:57 +02:00
parent 9af9e41b0d
commit ddb0112696
27 changed files with 764 additions and 1 deletions

24
pgbouncer/values.yaml Normal file
View File

@@ -0,0 +1,24 @@
pgbouncer: &pgbouncer_config
nodeSelector: kubernetes.io/hostname=pi2 # close to postgres instance
config:
adminUser: "admin"
adminPassword: "admin"
authUser: &authUser pgbouncer_auth
authPassword: *authUser
databases:
"*":
host: "192.168.1.202" # kubernetes.io/hostname=pi2 ip
port: 5432
pgbouncer:
auth_type: scram-sha-256
auth_query: SELECT uname, phash FROM user_lookup($1)
pgbouncerExporter:
enabled: false
tool:
# kind: 'SubChart' or 'HelmChart', if subchart then uncomment Chart.yaml dependency, else comment and use tool library with helm chart template
kind: 'SubChart'
repo: https://icoretech.github.io/helm
chart: pgbouncer
version: 2.3.1
values: *pgbouncer_config