browsertrix/chart
Tessa Walsh 589819682e
Optionally delay replica deletion (#2252)
Fixes #2170

The number of days to delay file replication deletion by is configurable
in the Helm chart with `replica_deletion_delay_days` (set by default to
7 days in `values.yaml` to encourage good practice, though we could
change this).

When `replica_deletion_delay_days` is set to an int above 0, when a
delete replica job would otherwise be started as a Kubernetes Job,
a CronJob is created instead with a cron schedule set to run yearly,
starting x days from the current moment. This cronjob is then deleted by
the operator after the job successfully completes. If a failed
background job is retried, it is re-run immediately as a Job rather
than being scheduled out into the future again.

---------
Co-authored-by: Ilya Kreymer <ikreymer@users.noreply.github.com>
2024-12-19 18:50:28 -08:00
..
admin/logging
app-templates Optionally delay replica deletion (#2252) 2024-12-19 18:50:28 -08:00
btrix-crds
charts Configure browsertrix proxies (#1847) 2024-10-02 18:35:45 -07:00
email-templates Send subscription cancelation email (#2234) 2024-12-12 11:52:38 -08:00
examples Add Repository Index + Chart Rename + Docs Rename (#1708) 2024-04-21 09:42:25 -07:00
proxies Configure browsertrix proxies (#1847) 2024-10-02 18:35:45 -07:00
templates Optionally delay replica deletion (#2252) 2024-12-19 18:50:28 -08:00
test Adds Subscription API (#1914) 2024-07-10 17:41:16 -07:00
.helmignore
Chart.lock Configure browsertrix proxies (#1847) 2024-10-02 18:35:45 -07:00
Chart.yaml version: bump to 1.13.1 2024-12-19 12:01:47 -08:00
README.md
values.yaml Optionally delay replica deletion (#2252) 2024-12-19 18:50:28 -08:00

Update Helm dependencies

  • It needs to update Helm charts after changing its dependencies (e.g. logging)
$ helm dependency update .

Update metacontroller

#!/bin/bash

# intall metacontroller
git clone --depth=1 https://github.com/metacontroller/metacontroller.git
cd metacontroller
helm package deploy/helm/metacontroller --destination deploy/helm
cd ..

# update dependency
helm dependency update
  • Bump up the metacontroller version in Chart.yaml