Skip to content

Commit

Permalink
Revert "Use the uninstaller binary"
Browse files Browse the repository at this point in the history
This reverts commit 818cb47.
  • Loading branch information
taherv committed Mar 15, 2019
1 parent 818cb47 commit 3a1d09b
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion pure-k8s-plugin/templates/pure-flex-daemon.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,16 @@ spec:
preStop:
exec:
command:
- "/uninstaller"
- "/bin/sh"
- "-c"
- >
touch /tmp/.uninstall_start_flag;
while true; do
if [ -f /tmp/.uninstall_finish_flag ]; then
exit;
fi;
sleep 1;
done
imagePullPolicy: {{ .Values.image.pullPolicy }}
securityContext:
privileged: true
Expand Down

0 comments on commit 3a1d09b

Please sign in to comment.