Ver código fonte

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

John Sanda 7 anos atrás
pai
commit
490b5cbd5c
1 arquivos alterados com 1 adições e 1 exclusões
  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'