Skip to content

Commit

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

0 comments on commit 818cb47

Please sign in to comment.