-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated backup script, added backup PVC for postgreSQL
- Loading branch information
Vazquez,Brais (IT EDP)
committed
Mar 25, 2024
1 parent
099c685
commit 08bd231
Showing
3 changed files
with
46 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
apiVersion: v1 | ||
kind: PersistentVolumeClaim | ||
metadata: | ||
annotations: | ||
volume.beta.kubernetes.io/storage-provisioner: {{ .Values.global.storageProvisioner }} | ||
finalizers: | ||
- kubernetes.io/pvc-protection | ||
labels: | ||
app: {{ .Values.global.appName }} | ||
name: {{ .Values.global.appName }}-postgresql-backup | ||
spec: | ||
accessModes: | ||
- ReadWriteOnce | ||
resources: | ||
requests: | ||
storage: 1Gi | ||
storageClassName: {{ .Values.global.storageClassData }} | ||
volumeMode: Filesystem |