-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
As the cluster grow we need to ensure that helm do not retain all version's resources (secrets, configmaps, ...)
You can tell Helm to keep only a certain number of revisions by setting --history-max during installation or upgrade:
helm upgrade --install <release-name> <chart-path> -n <namespace> --history-max 5
This ensures that Helm retains only the last 5 revisions, deleting older ones automatically.
You can also update an existing release with:
helm upgrade <release-name> <chart-path> -n <namespace> --history-max 5
Delete Old Revisions Manually
kubectl delete secret -n <namespace> $(kubectl get secrets -n <namespace> | grep 'sh.helm.release' | awk '{print $1}')
Metadata
Metadata
Assignees
Labels
No labels