Browse Source

Do not snapshot volumes by default

master
Fábio Kaiser Rauber 4 years ago
parent
commit
e818b547d4
  1. 9
      charts/portalmodelo/v0.5.0/templates/velero-schedule-monthly.yaml
  2. 9
      charts/portalmodelo/v0.5.0/templates/velero-schedule-weekdays.yaml
  3. 9
      charts/portalmodelo/v0.5.0/templates/velero-schedule-weekly.yaml
  4. 6
      charts/portalmodelo/v0.5.0/values.yaml

9
charts/portalmodelo/v0.5.0/templates/velero-schedule-monthly.yaml

@ -10,12 +10,11 @@ spec:
template:
includedNamespaces:
- {{ .Release.Namespace }}
# cert-manager objects are usually blocked during backup
{{- with .Values.velero.backup.excludedResources }}
excludedResources:
- certificates.cert-manager.io
- orders.acme.cert-manager.io
- certificaterequests.cert-manager.io
snapshotVolumes: true
{{- toYaml . | nindent 8 }}
{{- end }}
snapshotVolumes: {{ .Values.velero.backup.snapshotVolumes }}
# every weekday backup is good for the next year (365 days)
ttl: 8760h0m0s
useOwnerReferencesInBackup: false

9
charts/portalmodelo/v0.5.0/templates/velero-schedule-weekdays.yaml

@ -10,12 +10,11 @@ spec:
template:
includedNamespaces:
- {{ .Release.Namespace }}
# cert-manager objects are usually blocked during backup
{{- with .Values.velero.backup.excludedResources }}
excludedResources:
- certificates.cert-manager.io
- orders.acme.cert-manager.io
- certificaterequests.cert-manager.io
snapshotVolumes: true
{{- toYaml . | nindent 8 }}
{{- end }}
snapshotVolumes: {{ .Values.velero.backup.snapshotVolumes }}
# every weekday backup is good for the next week (7 days)
ttl: 168h0m0s
useOwnerReferencesInBackup: false

9
charts/portalmodelo/v0.5.0/templates/velero-schedule-weekly.yaml

@ -10,12 +10,11 @@ spec:
template:
includedNamespaces:
- {{ .Release.Namespace }}
# cert-manager objects are usually blocked during backup
{{- with .Values.velero.backup.excludedResources }}
excludedResources:
- certificates.cert-manager.io
- orders.acme.cert-manager.io
- certificaterequests.cert-manager.io
snapshotVolumes: true
{{- toYaml . | nindent 8 }}
{{- end }}
snapshotVolumes: {{ .Values.velero.backup.snapshotVolumes }}
# every sunday backup is good for 30 days (aprox. 1 month)
ttl: 744h0m0s
useOwnerReferencesInBackup: false

6
charts/portalmodelo/v0.5.0/values.yaml

@ -24,6 +24,12 @@ velero:
namespace: velero
backup:
enabled: false
snapshotVolumes: false
# cert-manager objects are usually blocked during backup
excludeResources:
- certificates.cert-manager.io
- orders.acme.cert-manager.io
- certificaterequests.cert-manager.io
portal:
adminPassword: altereme

Loading…
Cancel
Save