Helm3 plugin that pulls(re-creates) helm Charts from deployed releases, and updates values of deployed releases without the chart.
97
stars
11
forks
source link
Add Release TTL to set the time-to-live of a helm release #18
Open
rtpro opened 1 year ago
Add the ability to set the expiration time to a release, after the TTL(time-to-live) expires the release is deleted.
Command to set a TTL after which the release will be deleted.
Set TTL time:
helm release tll <RELEASE-NAME> --set=<>21 days
# Runskubectl apply
with Cronjob objectGet TTL time:
helm release ttl <RELEASE-NAME>
# Retruns the TTL timeout, time leftRemove TTL time:
helm release ttl <RELEASE-NAME> -unset
# Remove the TTL timeoutDesign:
date --date="1 day"
to set TTL timeout, thedate
command should output the cronjob time formatting.helm
command to delete the release.Cronjob Object