-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathcustom-values-example.yaml
More file actions
76 lines (71 loc) · 2.39 KB
/
custom-values-example.yaml
File metadata and controls
76 lines (71 loc) · 2.39 KB
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
# Apply base configuration from values.yaml and make the necessary overrides in custom-values-example.yaml
# helm upgrade --install new-hippo-ha . -f values.yaml -f custom-values-example.yaml
fullnameOverride: new-crunchy-postgres
labels:
app.kubernetes.io/part-of: new-crunchydb-postgres
dataSource:
enabled: false
# should have the same name and contain the same keys as the pgbackrest secret
secretName: new-s3-pgbackrest
repo:
path: "/habackup-new"
s3:
bucket: "sector-project-new"
endpoint: "https://sector.objectstore.gov.bc.ca"
pgBackRest:
repos:
schedules:
full: 10 10 * * *
incremental: 10 3,15,19,23 * * *
s3:
enabled: false
createS3Secret: false
# the s3 secret name
s3Secret: new-s3-pgbackrest
# the path start with /, it will be created under bucket if it doesn't exist
s3Path: "/habackup-new"
# bucket specifies the S3 bucket to use,
bucket: "sector-project-new"
# endpoint specifies the S3 endpoint to use.
endpoint: "https://sector.objectstore.gov.bc.ca"
# key is the S3 key. This is stored in a Secret.
# Please DO NOT push this value to GitHub
key: "s3keyValue"
# keySecret is the S3 key secret. This is stored in a Secret.
# Please DO NOT push this value to GitHub
keySecret: "s3SecretValue"
# set the default schedule to avoid conflicts
fullSchedule: 30 11 * * *
incrementalSchedule: 30 3,15,19,23 * * *
# Data restore cronjob configuration example
# Uncomment and configure to enable daily restore from source database
# Reuses the same structure as dataSource for consistency
# dataRestore:
# enabled: true
# schedule: "0 2 * * *" # Daily at 2 AM
# image: "artifacts.developer.gov.bc.ca/bcgov-docker-local/crunchy-pgbackrest:ubi8-2.47-1"
# # Reuse existing S3 secret (same as dataSource or pgBackRest.s3)
# secretName: "new-s3-pgbackrest"
# repo:
# name: repo2
# path: "/habackup-source"
# s3:
# bucket: "source-database-backups"
# endpoint: "https://sector.objectstore.gov.bc.ca"
# region: "not-used"
# uriStyle: "path"
# stanza: db
# target:
# # Leave empty to use current cluster name
# clusterName: ""
# database: "myapp"
# resources:
# requests:
# cpu: 200m
# memory: 512Mi
# limits:
# cpu: 1000m
# memory: 1Gi
# additionalArgs:
# - "--log-level-console=debug"
# - "--process-max=2"