UNCLASSIFIED - NO CUI

Skip to content

fix: add `before-hook-creation` delete policy to ugprade job resources

Noah Birrer requested to merge bugfix/upgrade-hooks into main

Summary

Adds additional annotation to helm.sh/hook-delete-policy on the ServiceAccount, ClusterRole, and ClusterRoleBinding resources in ./chart/templates/bigbang/upgrade-job.yaml. The annotation will cause any of the aforementioned resources to be deleted prior to another upgrade hook job running, which was causing upgrades to fail (see related issue).

More on annotations for helm hooks: https://helm.sh/docs/topics/charts_hooks/

Linked Issue

Relates #144 (closed)

Upgrade Notices

N/A

Edited by Noah Birrer

Merge request reports