Skip to content

NooBaaAccount does not reconcile when its credentials Secret is deleted #2078

Description

@aayushchouhan09

Environment info

  • NooBaa Operator Version: VERSION
  • Platform: Kubernetes 1.14.1 | minikube 1.1.1 | OpenShift 4.1 | other: specify

Actual behavior

  1. Deleting the credentials Secret noobaa-account-<name> does not trigger NooBaaAccount reconcile. The controller only watches NooBaaAccount (GenerationChangedPredicate/ labels / finalizers) and does not watch the owned Secret. Phase can stay Ready with the Secret missing until the next CR reconcile (e.g. a spec patch).

Expected behavior

  1. When the credentials Secret is deleted, the NooBaaAccount is reconciled promptly and the Secret is recreated (or phase reflects that credentials are missing).

Steps to reproduce

  1. Create a NooBaaAccount; wait until Ready and confirm Secret noobaa-account-<name> exists.
  2. Delete that Secret only (do not change the NooBaaAccount CR).
  3. Observe: no reconcile; CR stays Ready; Secret remains missing until a CR change forces reconcile.

More information - Screenshots / Logs / Other output

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions