Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

core: disallow multiple clusters in the same namespace #9457

Merged
merged 2 commits into from Dec 20, 2021

Commits on Dec 17, 2021

  1. core: do not log create event as info

    Let's use debug not to clutter logs.
    
    Signed-off-by: Sébastien Han <seb@redhat.com>
    leseb committed Dec 17, 2021
    Copy the full SHA
    52ededd View commit details
    Browse the repository at this point in the history
  2. core: disallow multiple clusters in the same namespace

    Rook does not support running multiple clusters in the same namespace,
    so the operator should not reconcile if a new cluster is added.
    The scenario where a cluster is added while the operator is down is also
    handled. CR updates are also handled.
    When the operator detects more than one cluster it will refuse to
    reconcile the CephCluster, and child CRDs will block too until the
    operator is ready.
    The user must remove one of the clusters before can continue to perform
    any reconcile.
    
    Closes: rook#9452
    Signed-off-by: Sébastien Han <seb@redhat.com>
    leseb committed Dec 17, 2021
    Copy the full SHA
    da76a77 View commit details
    Browse the repository at this point in the history