Compare commits

...

17 Commits

Author SHA1 Message Date
42b5e3ba59 cloudnativepg: update pooler specs 2025-11-13 21:13:52 -05:00
d5026ac748 postgres: fix pooler config, tested 2025-11-13 21:05:10 -05:00
e140de574e Revert "use custom auth query for pg pooler"
This reverts commit e7692bc346.
2025-11-13 16:31:40 -05:00
e7692bc346 use custom auth query for pg pooler 2025-11-13 16:25:24 -05:00
ec15e9de3a cloudnativepg: implement connection pool #6 2025-11-13 15:43:02 -05:00
1f0dd8ca03 Merge pull request 'chore(deps): update helm release cloudnative-pg to v0.26.1' (#5) from renovate/cloudnative-pg-0.x into main
Reviewed-on: #5
2025-10-23 19:06:03 +00:00
62b5e558c2 chore(deps): update helm release cloudnative-pg to v0.26.1 2025-10-23 16:00:15 +00:00
a0492746d5 would help if I added the role 2025-10-22 22:16:10 -04:00
82a246b0ec postgres: add netmaker 2025-10-22 22:14:56 -04:00
ee6d634a1b rm valkey 2025-10-12 20:05:14 -04:00
c9db4fc4dd upgrade valkey operator 2025-10-09 12:40:42 -04:00
6661771272 expand postgres cluster size to 50GiB 2025-10-05 01:31:31 -04:00
42c45b89b1 add peertube db 2025-08-23 00:12:11 -04:00
ed20403887 Merge pull request 'chore(deps): update helm release cloudnative-pg to v0.26.0' (#4) from renovate/cloudnative-pg-0.x into main
Reviewed-on: #4
2025-08-13 18:13:10 +00:00
0f83c05af7 chore(deps): update helm release cloudnative-pg to v0.26.0 2025-08-13 09:00:41 +00:00
7bf2f56557 Merge pull request 'chore(deps): update helm release cloudnative-pg to v0.25.0' (#3) from renovate/cloudnative-pg-0.x into main
Reviewed-on: #3
2025-07-25 22:12:55 +00:00
d12545c0ce chore(deps): update helm release cloudnative-pg to v0.25.0 2025-07-25 13:00:37 +00:00
9 changed files with 132 additions and 1209 deletions

View File

@@ -24,5 +24,5 @@ appVersion: "1.0"
dependencies:
- name: cloudnative-pg
version: 0.24.0
version: 0.26.1
repository: https://cloudnative-pg.github.io/charts

View File

@@ -8,7 +8,7 @@ spec:
imageName: ghcr.io/cloudnative-pg/postgresql:16.9-5-bullseye
storage:
size: 20Gi
size: 50Gi
storageClass: rook-ceph-block
backup:
@@ -47,4 +47,23 @@ spec:
comment: gitea
login: true
passwordSecret:
name: gitea-auth
name: gitea-auth
- name: peertube
ensure: present
comment: peertube
login: true
passwordSecret:
name: peertube-auth
- name: netmaker
ensure: present
comment: netmaker
login: true
passwordSecret:
name: netmaker-auth
- name: pooler
ensure: present
comment: pooler
login: true
superuser: true
passwordSecret:
name: pgbouncer-auth-query

View File

@@ -0,0 +1,9 @@
apiVersion: postgresql.cnpg.io/v1
kind: Database
metadata:
name: netmaker
spec:
name: netmaker
owner: netmaker
cluster:
name: weyma-pgsql

View File

@@ -0,0 +1,9 @@
apiVersion: postgresql.cnpg.io/v1
kind: Database
metadata:
name: peertube
spec:
name: peertube
owner: peertube
cluster:
name: weyma-pgsql

View File

@@ -0,0 +1,25 @@
apiVersion: external-secrets.io/v1
kind: ExternalSecret
metadata:
name: netmaker-auth
spec:
data:
- remoteRef:
conversionStrategy: Default
decodingStrategy: None
key: cloudnativepg
metadataPolicy: None
property: netmaker_pw
secretKey: password
refreshInterval: 1h
secretStoreRef:
kind: ClusterSecretStore
name: weyma-vault
target:
template:
data:
username: netmaker
password: "{{ .password }}"
creationPolicy: Owner
deletionPolicy: Retain
name: netmaker-auth

View File

@@ -0,0 +1,25 @@
apiVersion: external-secrets.io/v1
kind: ExternalSecret
metadata:
name: peertube-auth
spec:
data:
- remoteRef:
conversionStrategy: Default
decodingStrategy: None
key: cloudnativepg
metadataPolicy: None
property: peertube_pw
secretKey: password
refreshInterval: 1h
secretStoreRef:
kind: ClusterSecretStore
name: weyma-vault
target:
template:
data:
username: peertube
password: "{{ .password }}"
creationPolicy: Owner
deletionPolicy: Retain
name: peertube-auth

View File

@@ -0,0 +1,25 @@
apiVersion: external-secrets.io/v1
kind: ExternalSecret
metadata:
name: pgbouncer-auth-query
spec:
data:
- remoteRef:
conversionStrategy: Default
decodingStrategy: None
key: cloudnativepg
metadataPolicy: None
property: pgbouncer_pw
secretKey: password
refreshInterval: 1h
secretStoreRef:
kind: ClusterSecretStore
name: weyma-vault
target:
template:
data:
username: pooler
password: "{{ .password }}"
creationPolicy: Owner
deletionPolicy: Retain
name: pgbouncer-auth-query

View File

@@ -0,0 +1,17 @@
apiVersion: postgresql.cnpg.io/v1
kind: Pooler
metadata:
name: pooler-weyma-rw
spec:
cluster:
name: weyma-pgsql
instances: 3
type: rw
pgbouncer:
poolMode: session
authQuery: "SELECT usename, passwd FROM pg_shadow WHERE usename=$1"
authQuerySecret:
name: pgbouncer-auth-query
parameters:
max_client_conn: "10000"
default_pool_size: "100"

File diff suppressed because it is too large Load Diff