Skip to content

[bug]: Cannot requeue objects with the same name in difference namespaces #800

Closed
cyclops-k8s/cyclops-multicluster
#20

Description

@robertcoltheart

Describe the bug

Seems the TimedEntityQueue keys by name only, and so 2 objects with the same type and name, but different namespaces cannot be requeued. See here

To reproduce

Create 2 secrets with the same name in different namespaces:

apiVersion: v1
kind: Secret
metadata:
  name: secret-name
  namespace: ns1

apiVersion: v1
kind: Secret
metadata:
  name: secret-name
  namespace: ns2

Inject EntityRequeue<V1Secret> into a service, list all Secrets and requeue each entity.

Controller watching V1Secret will only reconcile 1 of the secrets.

Expected behavior

All secrets requeued should go through the reconcile loop.

Screenshots

No response

Additional Context

No response

Activity

  1. added
    bug
    on Aug 19, 2024
  2. added a commit that references this issue on Aug 23, 2024
    de986bf
  3. robertcoltheart commented on Aug 26, 2024

    @robertcoltheart
    ContributorAuthor

    @buehler Any chance you can publish a release to nuget with this change included?

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

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions