Browse Source

Merge pull request #10514 from mareklibra/openshiftConsole_deleteOAuthClient

openshift_console: remove OAuthClient when uninstalling
OpenShift Merge Robot 6 years ago
parent
commit
d8578f48eb
1 changed files with 5 additions and 1 deletions
  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