-
Notifications
You must be signed in to change notification settings - Fork 17
/
values.yaml
77 lines (71 loc) · 2.06 KB
/
values.yaml
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
68
69
70
71
72
73
74
75
76
77
image:
repository: prodrigestivill/postgres-backup-local
# pick the pg version here: 15, 16 - see https://hub.docker.com/r/prodrigestivill/postgres-backup-local/tags
# tag: "15"
pullPolicy: Always
persistence:
storage:
enabled: true
size: 1Gi
mountPath: "/backups"
type: emptyDir
securityContext:
container:
runAsUser: 999
runAsGroup: 999
runAsNonRoot: true
readOnlyRootFilesystem: true
service:
main:
enabled: false
ports:
main:
protocol: tcp
port: 8080
targetPort: 8080
workload:
main:
enabled: true
replicas: 1
strategy: Recreate
type: Deployment
podSpec:
containers:
main:
env:
#### MANDATORY
# those 2 are used by backup.sh directly
# POSTGRES_HOST:
# the database(s) to backup (single name or comma seperated list of database)
# POSTGRES_DB:
#### OPTIONAL
POSTGRES_PORT: 5432
# Setting those 2 for better cli-support https://github.com/prodrigestivill/docker-postgres-backup-local/issues/76
# PGHOST:
PGPORT: 5432
# PGSSLMODE: "require"
# If TRUE, backups all databases and not just the list given in POSTGRES_DB
POSTGRES_CLUSTER: "FALSE"
# POSTGRES_EXTRA_OPTS: '-Z1'
SCHEDULE: "@daily"
BACKUP_KEEP_DAYS: 7
BACKUP_KEEP_WEEKS: 4
BACKUP_KEEP_MONTHS: 6
HEALTHCHECK_PORT: "8080"
envFrom:
- secretRef:
name: postgres-backup-local
expandObjectName: false
# should define following keys
# those 2 are used by backup.sh directly
# POSTGRES_USER:
# POSTGRES_PASSWORD:
# Setting those 2 for better cli-support https://github.com/prodrigestivill/docker-postgres-backup-local/issues/76
# PGUSER:
# PGPASSWORD:
ingress:
main:
enabled: false
portal:
open:
enabled: false