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
|
for t in $MODULES; do
|
||||||
# apply/replace app of apps directly
|
# apply/replace app of apps directly
|
||||||
if [ $t == "kubezero" ]; then
|
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)
|
kubectl replace -f $WORKDIR/kubezero/templates $(field_manager $ARGOCD)
|
||||||
else
|
else
|
||||||
#_helm apply $t
|
#_helm apply $t
|
||||||
|
Loading…
x
Reference in New Issue
Block a user