-
Bug
-
Resolution: Done
-
Major
-
None
-
ACM 2.9.0
-
None
-
2
-
False
-
-
False
-
-
-
GRC Sprint 2023-16
-
Important
-
No
Description of problem:
I'm having problems with gatekeeper policies – no status is being returned. The constraints and constrainttemplates are not being created.
Version-Release number of selected component (if applicable):
I am using build 2.9.0-SNAPSHOT-2023-08-21-13-37-13
How reproducible:
I have not tried to recreate this. I am not sure why/how I got my gatekeeper policies into a state where they do not provide any status in the policies.
Steps to Reproduce:
- Deploy the gatekeeper operator
- Clone the repo https://github.com/gparvin/grc-demo
- In the cloned repo, edit the 2.7/generator/gatekeeper-container/policyGenerator.yaml file and add the setting to the defaults: informGatekeeperPolicies: false
- Deploy gatekeeper policy set: kustomize build --enable-alpha-plugins | oc apply -f -
- The policies do not get any status because the constrainttemplates are never created
Actual results:
My gatekeeper policies are not returning status. The constraints do not exist. I can manually create the constraints and status will be returned.
Expected results:
The gatekeeper resources should be created for me
Additional info:
Attaching a log
- clones
-
ACM-7264 Policies with no status causes insights client crash
-
- Closed
-