Skip to content

roles are not cleaned up by the operator #2150

@KyriosGN0

Description

@KyriosGN0

Report

when changing the name of the role from ab to dc/ab the old role remains in that database

More about the problem

when i do db.system.roles.find() i see both roles

Steps to reproduce

  1. create role with name ab
  2. change role name to db/ab
  3. run db.system.roles.find() and observe they both exist

Versions

  1. Kubernetes 1.33
  2. Operator 1.21.1
  3. Database mongo 7.0.26-14

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions