Skip to content

Commit

Permalink
Delete all the resources of openshift-marketplace
Browse files Browse the repository at this point in the history
ansible-collections/kubernetes.core#517 added
delete_all: true to delete all the resources.

It needs to be added in fix openshift-marketplace task files
to make sure all pods are deleted otherwise
fix_openshift_marketplace.yml taskfile does not work as expected.

Note: It also adds wait_sleep attributes to make sure all
pods are running.

Signed-off-by: Chandan Kumar <raukadah@gmail.com>
  • Loading branch information
raukadah committed Apr 18, 2024
1 parent 24851d8 commit 3c029bc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions roles/openshift_setup/tasks/fix_openshift_marketplace.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
kubernetes.core.k8s:
kind: Pod
state: absent
delete_all: true
kubeconfig: "{{ cifmw_openshift_kubeconfig }}"
namespace: openshift-marketplace

Expand All @@ -20,3 +21,4 @@
type: Ready
status: "True"
wait_timeout: 300
wait_sleep: 10

0 comments on commit 3c029bc

Please sign in to comment.