فهرست منبع

openshift_console: remove OAuthClient when uninstalling

The OAuthClient is created within openshift-console installation
(tasks/install.yml, files/console-template.yml).

With this patch, the client is deleted by removal task.
Marek Libra 6 سال پیش
والد
کامیت
953c09e002
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