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

Replace openpolicyagent.org/kube-mgmt-retries annotation with in-memory map #196

Closed

Conversation

mvaalexp
Copy link

Possible solution for #194

if cm.GetResourceVersion() != oldCm.GetResourceVersion() {
newFp, oldFp := fingerprint(cm), fingerprint(oldCm)
rtrVal := cm.Annotations[retriesAnnotationKey]
rtrVal := kubeMgmtRetries[cm.Name]
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe need namespace-name here for uniqueness.

@mvaalexp
Copy link
Author

Not clear if the retry annotation is used outside of this class and can be safely removed.

@eshepelyuk
Copy link
Contributor

Hello @mvaalexp
are you going to complete this PR ?

@eshepelyuk eshepelyuk closed this Jul 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants