generated from onedr0p/cluster-template
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathcluster.yml
67 lines (67 loc) · 1.67 KB
/
cluster.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
apiVersion: acid.zalan.do/v1
kind: postgresql
metadata:
labels:
kustomize.toolkit.fluxcd.io/name: apps
kustomize.toolkit.fluxcd.io/namespace: flux-system
name: homelab-pgsql
namespace: database
spec:
allowedSourceRanges:
- 0.0.0.0/0
databases:
authelia: authelia
coder: coder
compreface: compreface
firefly: firefly
homeassistant: homeassistant
immich: immich
keycloak: keycloak
photoview: photoview
prowlarr: prowlarr
prowlarr_log: prowlarr
radarr: radarr
radarr_log: radarr
sftpgo: sftpgo
vaultwarden: vaultwarden
enableConnectionPooler: false
enableLogicalBackup: true
enableMasterLoadBalancer: true
# nodeAffinity:
# requiredDuringSchedulingIgnoredDuringExecution:
# nodeSelectorTerms:
# - matchExpressions:
# - key: kubernetes.io/hostname
# operator: In
# values:
# - k3s-worker1
numberOfInstances: 1
postgresql:
parameters:
shared_preload_libraries: bg_mon,pg_stat_statements,pgextwlist,pg_auth_mon,set_user,vectors
version: '15'
teamId: homelab
users:
authelia: []
coder: []
compreface: []
firefly: []
homeassistant: []
immich: []
keycloak: []
operator:
- superuser
- createdb
photoview: []
prowlarr: []
radarr: []
sftpgo: []
vaultwarden: []
volume:
selector:
matchLabels:
pg-volume: homelab-pgsql-data
size: 10Gi
clone:
cluster: "homelab-pgsql" # Inplace restore when having the same cluster name as the source
timestamp: "2024-02-27T18:00:00+04:00" # timezone required (offset relative to UTC, see RFC 3339 section 5.6)