Closed mathianasj closed 4 years ago
When a pod does not match a podpreset the last one in the list of available is applied even though it does not match the selector.
This bug in filterPodPresets has returned: https://github.com/redhat-cop/podpreset-webhook/blob/198be31d85d34b3e4ec236eb67db1a5251f2bc77/pkg/handler/handler.go#L132
filterPodPresets
When a pod does not match a podpreset the last one in the list of available is applied even though it does not match the selector.