Uploaded image for project: 'Percona Operator for MongoDB'
  1. Percona Operator for MongoDB
  2. K8SPSMDB-597

psmdb-operator helm chart deletes watchNamespace on uninstall

Details

    • Bug
    • Status: Done
    • Critical
    • Resolution: Fixed
    • 1.10.0
    • 1.12.0
    • Packaging
    • None
    • Yes

    Description

      Context

      We deployed psmdb-operator using the helm chart with the following command:

      helm install psmdb-operatorpercona/psmdb-operator -n operators --set watchNamespace <our-existing-namespace-with-lots-of-apps-deployed>
      

       
      We were expecting this command to allow us to manage MongoDB deployments in a different namespace using the operator installed to the operators namespace. This didn't seem to work because the rbac config seems to be broken, but that will probably be addressed by K8SPSMDB-203.
       
      We then intended to remove the operator from the operators namespace and move it to <our-existing-namespace-with-lots-of-apps-deployed>.
       
      Expected behavior
      The helm release should've been deleted without touching anything else.
       
      Actual behavior
      <our-existing-namespace-with-lots-of-apps-deployed> was deleted along with the helm release because of this resource

      Attachments

        Activity

          People

            tomislav.plavcic@percona.com Tomislav Plavcic
            andrein Andrei Nistor
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Smart Checklist