Compare commits
15 Commits
7bf2f56557
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
42b5e3ba59
|
|||
|
d5026ac748
|
|||
|
e140de574e
|
|||
|
e7692bc346
|
|||
|
ec15e9de3a
|
|||
| 1f0dd8ca03 | |||
|
62b5e558c2
|
|||
|
a0492746d5
|
|||
|
82a246b0ec
|
|||
|
ee6d634a1b
|
|||
|
c9db4fc4dd
|
|||
|
6661771272
|
|||
|
42c45b89b1
|
|||
| ed20403887 | |||
| 0f83c05af7 |
@@ -24,5 +24,5 @@ appVersion: "1.0"
|
||||
|
||||
dependencies:
|
||||
- name: cloudnative-pg
|
||||
version: 0.25.0
|
||||
version: 0.26.1
|
||||
repository: https://cloudnative-pg.github.io/charts
|
||||
@@ -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
|
||||
9
postgres/config/databases/netmaker.yaml
Normal file
9
postgres/config/databases/netmaker.yaml
Normal file
@@ -0,0 +1,9 @@
|
||||
apiVersion: postgresql.cnpg.io/v1
|
||||
kind: Database
|
||||
metadata:
|
||||
name: netmaker
|
||||
spec:
|
||||
name: netmaker
|
||||
owner: netmaker
|
||||
cluster:
|
||||
name: weyma-pgsql
|
||||
9
postgres/config/databases/peertube.yaml
Normal file
9
postgres/config/databases/peertube.yaml
Normal file
@@ -0,0 +1,9 @@
|
||||
apiVersion: postgresql.cnpg.io/v1
|
||||
kind: Database
|
||||
metadata:
|
||||
name: peertube
|
||||
spec:
|
||||
name: peertube
|
||||
owner: peertube
|
||||
cluster:
|
||||
name: weyma-pgsql
|
||||
25
postgres/config/netmaker_auth.yaml
Normal file
25
postgres/config/netmaker_auth.yaml
Normal 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
|
||||
25
postgres/config/peertube_auth.yaml
Normal file
25
postgres/config/peertube_auth.yaml
Normal 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
|
||||
25
postgres/config/poolers/authquery.yaml
Normal file
25
postgres/config/poolers/authquery.yaml
Normal 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
|
||||
17
postgres/config/poolers/pooler-weyma.yaml
Normal file
17
postgres/config/poolers/pooler-weyma.yaml
Normal 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"
|
||||
1206
valkey/install.yaml
1206
valkey/install.yaml
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user