Skip to content

Commit

Permalink
Some changes. Need to remove logs
Browse files Browse the repository at this point in the history
  • Loading branch information
RaunakShah committed Nov 23, 2022
1 parent 39b991c commit 166ae93
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions deploy/util/deploy-hostpath.sh
Original file line number Diff line number Diff line change
Expand Up @@ -247,15 +247,18 @@ for i in $(ls ${BASE_DIR}/hostpath/*.yaml | sort); do
line="$(echo "$nocomments" | sed -e "s;$image;${prefix}${name}${suffix};")"
fi
echo " using $line" >&2
if volume_mode_conversion; then
echo "Enabling volume mode conversion feature flag"
line="$(echo "$line" | sed -e "s;--prevent-volume-mode-conversion=false;--prevent-volume-mode-conversion=true;")"
fi
fi
echo "$line"
done)"
echo RAUNAK-222
echo "$modified"
if volume_mode_conversion; then
echo "Enabling volume mode conversion feature flag"
modified="${modified//--prevent-volume-mode-conversion=false/--prevent-volume-mode-conversion=true}"
fi
echo RAUNAK-333
echo "$modified"
if ! echo "$modified" | kubectl apply -f -; then
echo "modified version of $i:"
echo "$modified"
Expand Down

0 comments on commit 166ae93

Please sign in to comment.