fix: ensure pre-install hook is run for kubezero

This commit is contained in:
Stefan Reimer 2025-03-25 11:17:30 +01:00
parent bca7f5fd45
commit eb059883c1

View File

@ -330,6 +330,7 @@ apply_module() {
for t in $MODULES; do
# apply/replace app of apps directly
if [ $t == "kubezero" ]; then
[ -f $CHARTS/kubezero/hooks.d/pre-install.sh ] && . $CHARTS/kubezero/hooks.d/pre-install.sh
kubectl replace -f $WORKDIR/kubezero/templates $(field_manager $ARGOCD)
else
#_helm apply $t