Browse Source

Merge pull request #7276 from jsanda/uninstall-hosa

[BZ 1497408] delete config map, dameon set, and cluster role
Scott Dodson 7 years ago
parent
commit
32cb71b8cb
1 changed files with 1 additions and 1 deletions
  1. 1 1
      roles/openshift_metrics/tasks/uninstall_hosa.yaml

+ 1 - 1
roles/openshift_metrics/tasks/uninstall_hosa.yaml

@@ -3,7 +3,7 @@
   command: >
     {{ openshift_client_binary }} -n {{ openshift_metrics_hawkular_agent_namespace }} --config={{ mktemp.stdout }}/admin.kubeconfig
     delete --ignore-not-found --selector=metrics-infra=agent
-    all,sa,secrets,templates,routes,pvc,rolebindings,clusterrolebindings
+    all,sa,secrets,templates,routes,pvc,rolebindings,clusterrolebindings,daemonsets,clusterroles,configmaps
   register: delete_metrics
   changed_when: delete_metrics.stdout != 'No resources found'