mirror of
https://gitlab.com/deepcypher/dc-kc.git
synced 2026-01-27 11:12:08 +00:00
Added default volume-snapshot-location
This commit is contained in:
21
charts/velero/templates/s3-snapshot-location.yaml
Normal file
21
charts/velero/templates/s3-snapshot-location.yaml
Normal file
@@ -0,0 +1,21 @@
|
||||
apiVersion: velero.io/v1
|
||||
kind: VolumeSnapshotLocation
|
||||
metadata:
|
||||
name: aws-default
|
||||
namespace: velero
|
||||
spec:
|
||||
# Name of the volume snapshotter plugin to use to connect to this location.
|
||||
#
|
||||
# Required.
|
||||
provider: velero.io/aws
|
||||
|
||||
config:
|
||||
# The AWS region where the volumes/snapshots are located.
|
||||
#
|
||||
# Required.
|
||||
region: "eu-west-2"
|
||||
|
||||
# AWS profile within the credentials file to use for the volume snapshot location.
|
||||
#
|
||||
# Optional (defaults to "default").
|
||||
profile: "default"
|
||||
@@ -1,21 +0,0 @@
|
||||
#apiVersion: velero.io/v1
|
||||
#kind: VolumeSnapshotLocation
|
||||
#metadata:
|
||||
# name: ceph-block
|
||||
# namespace: velero
|
||||
#spec:
|
||||
# # Name of the volume snapshotter plugin to use to connect to this location.
|
||||
# #
|
||||
# # Required.
|
||||
# provider: velero.io/aws
|
||||
#
|
||||
# config:
|
||||
# # The AWS region where the volumes/snapshots are located.
|
||||
# #
|
||||
# # Required.
|
||||
# region: "eu-west-2"
|
||||
#
|
||||
# # AWS profile within the credentials file to use for the volume snapshot location.
|
||||
# #
|
||||
# # Optional (defaults to "default").
|
||||
# #profile: "default"
|
||||
@@ -68,9 +68,12 @@ spec:
|
||||
# a persistent volume provider is configured for Velero.
|
||||
snapshotVolumes: null
|
||||
# Where to store the tarball and logs.
|
||||
# THIS IS THE NAME OF A BackupStorageLocation CRD
|
||||
storageLocation: aws-default
|
||||
# The list of locations in which to store volume snapshots created for backups under this schedule.
|
||||
volumeSnapshotLocations: []
|
||||
# THIS IS THE NAME OF A VolumeSnapshotLocation CRD
|
||||
volumeSnapshotLocations:
|
||||
- aws-default
|
||||
#- ceph-block
|
||||
#- gcp-primary
|
||||
# The amount of time before backups created on this schedule are eligible for garbage collection. If not specified,
|
||||
|
||||
@@ -70,7 +70,8 @@ spec:
|
||||
# Where to store the tarball and logs.
|
||||
storageLocation: aws-default
|
||||
# The list of locations in which to store volume snapshots created for backups under this schedule.
|
||||
volumeSnapshotLocations: []
|
||||
volumeSnapshotLocations:
|
||||
- aws-default
|
||||
#- ceph-block
|
||||
#- gcp-primary
|
||||
# The amount of time before backups created on this schedule are eligible for garbage collection. If not specified,
|
||||
|
||||
@@ -65,7 +65,7 @@ spec:
|
||||
storageLocation: aws-default
|
||||
# The list of locations in which to store volume snapshots created for backups under this schedule.
|
||||
volumeSnapshotLocations:
|
||||
- aws-primary
|
||||
- aws-default
|
||||
#- gcp-primary
|
||||
# The amount of time before backups created on this schedule are eligible for garbage collection. If not specified,
|
||||
# a default value of 30 days will be used. The default can be configured on the velero server
|
||||
|
||||
8
utils/snapshots/nextcloud-main-snapshot.yaml
Normal file
8
utils/snapshots/nextcloud-main-snapshot.yaml
Normal file
@@ -0,0 +1,8 @@
|
||||
apiVersion: snapshot.storage.k8s.io/v1
|
||||
kind: VolumeSnapshot
|
||||
metadata:
|
||||
name: nextcloud-snapshot
|
||||
namespace: nextcloud
|
||||
spec:
|
||||
source:
|
||||
persistentVolumeClaimName: nextcloud-app-nextcloud
|
||||
8
utils/snapshots/nextcloud-mariadb-snapshot.yaml
Normal file
8
utils/snapshots/nextcloud-mariadb-snapshot.yaml
Normal file
@@ -0,0 +1,8 @@
|
||||
apiVersion: snapshot.storage.k8s.io/v1
|
||||
kind: VolumeSnapshot
|
||||
metadata:
|
||||
name: mariadb-snapshot
|
||||
namespace: nextcloud
|
||||
spec:
|
||||
source:
|
||||
persistentVolumeClaimName: data-nextcloud-app-mariadb-0
|
||||
Reference in New Issue
Block a user