-
Bug
-
Resolution: Done
-
Undefined
-
None
-
None
-
None
-
2
-
False
-
-
False
-
-
-
GRC Sprint 2023-08
-
Important
-
No
Description of problem:
ConfigurationPolicies might not be reconciled if other components are causing problems on the cluster. New policies will not receive a compliance state. Existing policies will not be updated.
Version-Release number of selected component (if applicable):
How reproducible:
Steps to Reproduce:
- Create a kind cluster
- Install a metrics server (https://kubernetes-sigs.github.io/metrics-server/)
- Install the config-policy-controller
- Create a configuration policy
Actual results:
No compliance state on the policy.
Expected results:
A compliance state on the policy.
Additional info:
The error in the config-policy-controller in the reproduced case described above is like:
error configuration-policy-controller logr@v1.2.2/logr.go:270 Could not get the API resource list
In other places I've seen this, it's the same kind of error but on different APIs:
error configuration-policy-controller logr@v1.2.2/logr.go:270 Could not get the API resource list