Skip to content

Commit 2202315

Browse files
committed
Use emptydir for db pg_dump
Signed-off-by: Harshad Reddy Nalla <[email protected]>
1 parent 7b35363 commit 2202315

File tree

4 files changed

+2
-27
lines changed

4 files changed

+2
-27
lines changed

graph-backup-job/overlays/aws-prod/kustomization.yaml

+1-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ kind: Kustomization
33
resources:
44
- ../../base
55
- thoth-notification.yaml
6-
- pvc.yaml
76
images:
87
- name: graph-backup-job
98
newName: image-registry.openshift-image-registry.svc:5000/thoth-graph-prod/graph-backup-job
@@ -42,7 +41,7 @@ patches:
4241
- patch: |-
4342
- op: add
4443
path: "/spec/jobTemplate/spec/template/spec/volumes/-1"
45-
value: {"name": "postgresql-data","persistentVolumeClaim":{"claimName": "dbbackup"}}
44+
value: {"name": "postgresql-data","emptyDir":{}}
4645
target:
4746
group: batch
4847
version: v1beta1

graph-backup-job/overlays/aws-prod/pvc.yaml

-11
This file was deleted.

graph-backup-job/overlays/ocp4-stage/kustomization.yaml

+1-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ kind: Kustomization
33
resources:
44
- ../../base
55
- thoth-notification.yaml
6-
- pvc.yaml
76
images:
87
- name: graph-backup-job
98
newName: image-registry.openshift-image-registry.svc:5000/thoth-graph-stage/graph-backup-job
@@ -42,7 +41,7 @@ patches:
4241
- patch: |-
4342
- op: add
4443
path: "/spec/jobTemplate/spec/template/spec/volumes/-1"
45-
value: {"name": "postgresql-data","persistentVolumeClaim":{"claimName": "dbbackup"}}
44+
value: {"name": "postgresql-data","emptyDir":{}}
4645
target:
4746
group: batch
4847
version: v1beta1

graph-backup-job/overlays/ocp4-stage/pvc.yaml

-12
This file was deleted.

0 commit comments

Comments
 (0)