Turns out using PodFailurePolicy leaves a bunch of old pods around instead of just restarting the containers. Rather than pollute the cluster with failed pods when installation is successfully retried, lets just reject v2 charts at the controller level. Add status conditions and an Event to report this, for better visibility.
Example output when the pod is recreated due to PodFailurePolicy, instead of just restarting the job container:
Turns out using PodFailurePolicy leaves a bunch of old pods around instead of just restarting the containers. Rather than pollute the cluster with failed pods when installation is successfully retried, lets just reject v2 charts at the controller level. Add status conditions and an Event to report this, for better visibility.
Example output when the pod is recreated due to PodFailurePolicy, instead of just restarting the job container: