fix: ensure pre-install hook is run for kubezero
This commit is contained in:
parent
bca7f5fd45
commit
eb059883c1
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user