diff --git a/charts/portalmodelo/v0.5.0/templates/velero-schedule-monthly.yaml b/charts/portalmodelo/v0.5.0/templates/velero-schedule-monthly.yaml index d2936c1..4a0a72c 100644 --- a/charts/portalmodelo/v0.5.0/templates/velero-schedule-monthly.yaml +++ b/charts/portalmodelo/v0.5.0/templates/velero-schedule-monthly.yaml @@ -3,6 +3,7 @@ apiVersion: velero.io/v1 kind: Schedule metadata: name: {{ include "portalmodelo.fullname" . }}-monthly + namespace: {{ .Values.velero.namespace }} spec: # generate a random backup time between 1 and 5 AM on first day of every month schedule: {{ mod (randNumeric 2) 60 }} {{ mod (randNumeric 1) 6 }} 1 * * diff --git a/charts/portalmodelo/v0.5.0/templates/velero-schedule-weekdays.yaml b/charts/portalmodelo/v0.5.0/templates/velero-schedule-weekdays.yaml index a5ad696..ea4693c 100644 --- a/charts/portalmodelo/v0.5.0/templates/velero-schedule-weekdays.yaml +++ b/charts/portalmodelo/v0.5.0/templates/velero-schedule-weekdays.yaml @@ -3,6 +3,7 @@ apiVersion: velero.io/v1 kind: Schedule metadata: name: {{ include "portalmodelo.fullname" . }}-weekdays + namespace: {{ .Values.velero.namespace }} spec: # generate a random backup time between 1 and 5 AM on weekdays schedule: {{ mod (randNumeric 2) 60 }} {{ mod (randNumeric 1) 6 }} * * 1-5 diff --git a/charts/portalmodelo/v0.5.0/templates/velero-schedule-weekly.yaml b/charts/portalmodelo/v0.5.0/templates/velero-schedule-weekly.yaml index dcc3f71..145f996 100644 --- a/charts/portalmodelo/v0.5.0/templates/velero-schedule-weekly.yaml +++ b/charts/portalmodelo/v0.5.0/templates/velero-schedule-weekly.yaml @@ -3,6 +3,7 @@ apiVersion: velero.io/v1 kind: Schedule metadata: name: {{ include "portalmodelo.fullname" . }}-weekly + namespace: {{ .Values.velero.namespace }} spec: # generate a random backup time between 1 and 5 AM on sunday schedule: {{ mod (randNumeric 2) 60 }} {{ mod (randNumeric 1) 6 }} * * 0 diff --git a/charts/portalmodelo/v0.5.0/values.yaml b/charts/portalmodelo/v0.5.0/values.yaml index fb314d3..dc6d778 100644 --- a/charts/portalmodelo/v0.5.0/values.yaml +++ b/charts/portalmodelo/v0.5.0/values.yaml @@ -21,6 +21,7 @@ persistence: size: 1Gi velero: + namespace: velero backup: enabled: false