Skip to content

Commit

Permalink
Merge pull request #43 from jenting/no-default-backup-location
Browse files Browse the repository at this point in the history
Support not create a default backup location
  • Loading branch information
nrb authored Feb 25, 2020
2 parents fc2176a + 4ce51a6 commit ccb3719
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion charts/velero/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v1
appVersion: 1.2.0
description: A Helm chart for velero
name: velero
version: 2.8.7
version: 2.8.8
home: https://github.com/vmware-tanzu/velero
icon: https://cdn-images-1.medium.com/max/1600/1*-9mb3AKnKdcL_QD3CMnthQ.png
sources:
Expand Down
2 changes: 2 additions & 0 deletions charts/velero/templates/backupstoragelocation.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{{- if .Values.backupsEnabled }}
apiVersion: velero.io/v1
kind: BackupStorageLocation
metadata:
Expand Down Expand Up @@ -52,3 +53,4 @@ spec:
{{- end }}
{{- end }}
{{- end }}
{{- end }}
4 changes: 3 additions & 1 deletion charts/velero/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,9 @@ credentials:
# of your IAM credentials file.
secretContents: {}

# Wheter to create volumesnapshotlocation crd, if false => disable snapshot feature
# Whether to create backupstoragelocation crd, if false => do not create a default backup location
backupsEnabled: true
# Whether to create volumesnapshotlocation crd, if false => disable snapshot feature
snapshotsEnabled: true

# Whether to deploy the restic daemonset.
Expand Down

0 comments on commit ccb3719

Please sign in to comment.