Description of problem:
We have code that does not allow two config policies to have the same name. You can't have gatekeeper constraints with the same name either. Same for constrainttemplates. You can have a constraint and constraint template that have the same name. In that case the status is being returned, but it's not correct.
Version-Release number of selected component (if applicable):
How reproducible:
I think it is easily reproducible. There may be some randomness in how the status is returned.
Steps to Reproduce:
- Create policy with gatekeeper constraint and constrainttemplate that have a common name
- The policy status won't work properly
- ...