File tree 2 files changed +10
-10
lines changed 2 files changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -19,10 +19,10 @@ deploy_prereqs() {
19
19
}
20
20
21
21
remove_prereqs () {
22
- kubectl delete --ignore-not-found=true -f " $OPERATORDIR /deploy/service_account .yaml"
23
- kubectl delete --ignore-not-found=true -f " $OPERATORDIR /deploy/role .yaml"
24
- kubectl delete --ignore-not-found=true -f " $OPERATORDIR /deploy/role_binding .yaml"
25
- kubectl delete --ignore-not-found=true -f " $OPERATORDIR /deploy/crds/ansible.example.com_memcacheds_crd .yaml"
22
+ kubectl delete --wait=true -- ignore-not-found=true --timeout=60s - f " $OPERATORDIR /deploy/crds/ansible.example.com_memcacheds_crd .yaml"
23
+ kubectl delete --wait=true -- ignore-not-found=true -f " $OPERATORDIR /deploy/service_account .yaml"
24
+ kubectl delete --wait=true -- ignore-not-found=true -f " $OPERATORDIR /deploy/role .yaml"
25
+ kubectl delete --wait=true -- ignore-not-found=true -f " $OPERATORDIR /deploy/role_binding .yaml"
26
26
}
27
27
28
28
pushd " $TMPDIR "
Original file line number Diff line number Diff line change @@ -23,12 +23,12 @@ deploy_operator() {
23
23
}
24
24
25
25
remove_operator () {
26
- kubectl delete --ignore-not-found=true -f " $OPERATORDIR /deploy/service_account .yaml"
27
- kubectl delete --ignore-not-found=true -f " $OPERATORDIR /deploy/role .yaml"
28
- kubectl delete --ignore-not-found=true -f " $OPERATORDIR /deploy/role_binding .yaml"
29
- kubectl delete --ignore-not-found=true -f " $OPERATORDIR /deploy/crds/ansible.example.com_memcacheds_crd .yaml"
30
- kubectl delete --ignore-not-found=true -f " $OPERATORDIR /deploy/crds/ansible.example.com_foos_crd .yaml"
31
- kubectl delete --ignore-not-found=true -f " $OPERATORDIR /deploy/operator .yaml"
26
+ kubectl delete --wait=true -- ignore-not-found=true --timeout=60s - f " $OPERATORDIR /deploy/crds/ansible.example.com_memcacheds_crd .yaml"
27
+ kubectl delete --wait=true -- ignore-not-found=true --timeout=60s - f " $OPERATORDIR /deploy/crds/ansible.example.com_foos_crd .yaml"
28
+ kubectl delete --wait=true -- ignore-not-found=true -f " $OPERATORDIR /deploy/operator .yaml"
29
+ kubectl delete --wait=true -- ignore-not-found=true -f " $OPERATORDIR /deploy/service_account .yaml"
30
+ kubectl delete --wait=true -- ignore-not-found=true -f " $OPERATORDIR /deploy/role .yaml"
31
+ kubectl delete --wait=true -- ignore-not-found=true -f " $OPERATORDIR /deploy/role_binding .yaml"
32
32
}
33
33
34
34
operator_logs () {
You can’t perform that action at this time.
0 commit comments