Skip to content

Commit

Permalink
Update psql-db-backup-encrypt-job.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
ajoaugustine authored Aug 9, 2024
1 parent d5ed6e0 commit 43e65a6
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions kube/services/jobs/psql-db-backup-encrypt-job.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -210,5 +210,15 @@ spec:
# Sleep for 600 seconds to allow the user to check the logs
sleep 600
volumeMounts:
- mountPath: "/home/ubuntu/backup"
name: s3-volume
securityContext:
runAsUser: 1000
runAsGroup: 1000
volumes:
- name: s3-volume
persistentVolumeClaim:
claimName: s3-pvc-db-backups
restartPolicy: Never

0 comments on commit 43e65a6

Please sign in to comment.