Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-13426

camel-k global uninstall doesn't clean all resources

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Critical
    • camel-K-M3
    • None
    • Camel-K, QE
    • None
    • % %
    • Camel-K

    Description

      Install with global mode

      [9/04/20 09:32:48] ~/R/x/xpaas-qe ❯❯❯ kamel install --global                                                                                                                                                                                                       ✘ 1 master ✭
      Camel K installed in namespace llowinge  (global mode)
      

      Uninstall with global mode

      [9/04/20 09:34:27] ~/R/x/xpaas-qe ❯❯❯ kamel uninstall --global --olm=false                                                                                                                                                                                       ✘ 130 master ✭
      Camel K Integration Platform removed from namespace llowinge
      Camel K Config Maps removed from namespace llowinge
      Camel K Operator removed from namespace llowinge
      Camel K Role Bindings removed from namespace llowinge
      Camel K Roles removed from namespace llowinge
      Camel K Service Accounts removed from namespace llowinge
      

      Install again

      [9/04/20 09:34:41] ~/R/x/xpaas-qe ❯❯❯ kamel install --global                                                                                                                                                                                                           master ✭
      Error: Camel K seems already installed (use the --force option to overwrite existing resources): clusterroles.rbac.authorization.k8s.io "camel-k-operator" already exists
      

      The clusterrole and cluster role binding remains to be deleted.

      I've also tried to uninstall with

      oc delete all,pvc,configmap,rolebindings,clusterrolebindings,secrets,sa,roles,clusterroles,crd -l 'app=camel-k'
      

      That doesn't work either, because some resources are not labeled with camel-k.

      Attachments

        Activity

          People

            astefanu@redhat.com Antonin Stefanutti
            llowinge@redhat.com Lukas Lowinger
            Lukas Lowinger Lukas Lowinger
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: