瀏覽代碼

Merge pull request #10514 from mareklibra/openshiftConsole_deleteOAuthClient

openshift_console: remove OAuthClient when uninstalling
OpenShift Merge Robot 6 年之前
父節點
當前提交
d8578f48eb
共有 1 個文件被更改,包括 5 次插入1 次删除
  1. 5 1
      roles/openshift_console/tasks/remove.yml

+ 5 - 1
roles/openshift_console/tasks/remove.yml

@@ -4,4 +4,8 @@
     name: openshift-console
     state: absent
 
-# TODO: Remove OAuthClient
+- name: Remove openshift-console OAuth client
+  oc_obj:
+    kind: oauthclient
+    name: openshift-console
+    state: absent