Skip to content

sourceLocation is never updated #410

@joerivrij

Description

@joerivrij

Hi mittwald team,

I am opening this issue because I have created a PR that addresses a problem when a secret has been created but the target makes a switch to a new namespace or name.

Because the cache is never updated this would hang and be stuck in an infinite loop. I have created a pr #409

The offending line is:

if _, ok := r.DependentMap[cacheKey]; !ok {
		r.DependentMap[cacheKey] = sourceLocation
	}

here: replicate/common/generic-replicator.go line 351

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