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: template:
includedNamespaces: includedNamespaces:
- {{ .Release.Namespace }} - {{ .Release.Namespace }}
# cert-manager objects are usually blocked during backup {{- with .Values.velero.backup.excludedResources }}
excludedResources: excludedResources:
- certificates.cert-manager.io {{- toYaml . | nindent 8 }}
- orders.acme.cert-manager.io {{- end }}
- certificaterequests.cert-manager.io snapshotVolumes: {{ .Values.velero.backup.snapshotVolumes }}
snapshotVolumes: true
# every weekday backup is good for the next year (365 days) # every weekday backup is good for the next year (365 days)
ttl: 8760h0m0s ttl: 8760h0m0s
useOwnerReferencesInBackup: false useOwnerReferencesInBackup: false

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

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

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

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

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

@ -24,6 +24,12 @@ velero:
namespace: velero namespace: velero
backup: backup:
enabled: false 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: portal:
adminPassword: altereme adminPassword: altereme

Loading…
Cancel
Save