浏览代码

[BZ 1497408] delete config map, dameon set, and cluster role

John Sanda 7 年之前
父节点
当前提交
490b5cbd5c
共有 1 个文件被更改,包括 1 次插入1 次删除
  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'