From 79d2aba0a367250647ec827417cde05f78ff8a17 Mon Sep 17 00:00:00 2001 From: atsikham Date: Thu, 21 Oct 2021 23:52:50 +0200 Subject: [PATCH] Removed timeout for kubectl --- .../roles/upgrade/tasks/kubernetes/upgrade-k8s-dashboard.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ansible/playbooks/roles/upgrade/tasks/kubernetes/upgrade-k8s-dashboard.yml b/ansible/playbooks/roles/upgrade/tasks/kubernetes/upgrade-k8s-dashboard.yml index 26d9386b64..305d9ae991 100644 --- a/ansible/playbooks/roles/upgrade/tasks/kubernetes/upgrade-k8s-dashboard.yml +++ b/ansible/playbooks/roles/upgrade/tasks/kubernetes/upgrade-k8s-dashboard.yml @@ -27,10 +27,9 @@ when: upgrade_k8s_dashboard block: - name: k8s/master | Delete kubernetes-dashboard namespace - # this command can hang, so timeout is specified # --ignore-not-found is used to be able re-run upgrade if it fails command: >- - kubectl delete ns kubernetes-dashboard --ignore-not-found=true --timeout=1m + kubectl delete ns kubernetes-dashboard --ignore-not-found=true # Deploy new version of kubernetes-dashboard - name: k8s/master | Apply Kubernetes Dashboard