File tree Expand file tree Collapse file tree 1 file changed +11
-8
lines changed
apps/linkding/components/restic-postgres Expand file tree Collapse file tree 1 file changed +11
-8
lines changed Original file line number Diff line number Diff line change @@ -5,12 +5,12 @@ resources:
5
5
- ../../../../infra/restic-postgres
6
6
configMapGenerator :
7
7
- name : " linkding-restic-postgres"
8
+ behavior : " merge"
8
9
literals :
9
10
- " RETENTION_DAYS=7"
10
11
- " RETENTION_WEEKS=4"
11
- - " RETENTION_MONTHS=6 "
12
+ - " RETENTION_MONTHS=12 "
12
13
- " RESTIC_BACKUP_ID=linkding-postgres"
13
- - " POSTGRES_SERVER=postgres"
14
14
patches :
15
15
- target :
16
16
kind : " CronJob"
@@ -33,13 +33,16 @@ patches:
33
33
path: "/spec/schedule"
34
34
value: "5 6 * * *"
35
35
- op: "replace"
36
- path: "/spec/jobTemplate/spec/template/spec/containers/0/env/0/valueFrom/secretKeyRef/name"
37
- value: "linkding-postgres"
38
- - op: "add"
39
- path: "/spec/jobTemplate/spec/template/spec/containers/0/envFrom/-"
36
+ path: "/spec/jobTemplate/spec/template/spec/containers/0/env/0/valueFrom/secretKeyRef"
40
37
value:
41
- secretRef:
42
- name: "linkding-postgres"
38
+ name: "linkding-postgres"
39
+ key: "password"
40
+ optional: true
41
+ # - op: "add"
42
+ # path: "/spec/jobTemplate/spec/template/spec/containers/0/envFrom/-"
43
+ # value:
44
+ # secretRef:
45
+ # name: "linkding-postgres"
43
46
- target :
44
47
kind : " CronJob"
45
48
name : " restic-postgres-prune"
You can’t perform that action at this time.
0 commit comments