Open mahmoudcb opened 4 years ago
Hmm, this looks like a duplicate of #2 which was supposedly addressed by #3. Do you still see the issue?
Hi - i am using the latest tag on an EKS cluster but it seems that the labels matching is being completely ingnored, any pod is matching the last podpreset. I also see that the changes in the PR you mention https://github.com/redhat-cop/podpreset-webhook/pull/3 doesn't seem to be present in master... thanks for your support
@danopia The #3 patch did fix this issue. However this fix have then been lost/reverted in one of the later commits.
Yes, I agree, the fix I referenced was reverted by this huge PR: https://github.com/redhat-cop/podpreset-webhook/pull/11
I've never actually used this project so I'll be unsubscribing from this thread. Apologies
@sabre1041 @mathianasj any plans to fix this?
I have 2 PodPresets that should be applied to the Pod. Here are the logs
It's clear from the logs that it is somehow trying to apply
datadog-agent-host
2 times.I'm suspecting
mutatePodsFn
andfilterPodPresets
functions aren't returning the correct lists.