diff --git a/images/kubectl-build-deploy-dind/helmcharts/k8up-schedule/templates/schedule.yaml b/images/kubectl-build-deploy-dind/helmcharts/k8up-schedule/templates/schedule.yaml index e76c51b08e..9bd004ec06 100644 --- a/images/kubectl-build-deploy-dind/helmcharts/k8up-schedule/templates/schedule.yaml +++ b/images/kubectl-build-deploy-dind/helmcharts/k8up-schedule/templates/schedule.yaml @@ -17,9 +17,13 @@ spec: schedule: '{{ .Values.backup.schedule }}' check: schedule: '{{ .Values.check.schedule }}' + tags: + - '{{ .Values.lagoonEnvironmentType }}' prune: retention: keepDaily: {{ .Values.prune.retention.keepDaily }} keepWeekly: {{ .Values.prune.retention.keepWeekly }} keepMonthly: {{ .Values.prune.retention.keepMonthly }} + tags: + - {{ .Values.lagoonEnvironmentType }} schedule: '{{ .Values.prune.schedule }}' diff --git a/images/oc-build-deploy-dind/openshift-templates/backup-schedule.yml b/images/oc-build-deploy-dind/openshift-templates/backup-schedule.yml index 42cabaebf6..3b1b24133e 100644 --- a/images/oc-build-deploy-dind/openshift-templates/backup-schedule.yml +++ b/images/oc-build-deploy-dind/openshift-templates/backup-schedule.yml @@ -73,11 +73,17 @@ objects: bucket: '${BAAS_BUCKET_NAME}' backup: schedule: '${BACKUP_SCHEDULE}' + tags: + - '${LAGOON_ENVIRONMENT_TYPE}' check: schedule: '${CHECK_SCHEDULE}' + tags: + - '${LAGOON_ENVIRONMENT_TYPE}' prune: retention: keepDaily: ${{DAILY_BACKUP_RETENTION}} keepWeekly: ${{WEEKLY_BACKUP_RETENTION}} keepMonthly: ${{MONTHLY_BACKUP_RETENTION}} + tags: + - '${LAGOON_ENVIRONMENT_TYPE}' schedule: '${PRUNE_SCHEDULE}'