Uploaded image for project: 'Red Hat Advanced Cluster Management'
  1. Red Hat Advanced Cluster Management
  2. ACM-11076

Policy Generator: Use remediationAction to set enforcementAction for Constraints

XMLWordPrintable

    • 2
    • False
    • None
    • False
    • GRC Sprint 2024-13
    • No

      Currently remediationAction has no effect on Gatekeeper Constraints.

      • Add a new field of `gatekeeperEnforcementAction`
      • Default value of the field is unset and when unset, don't touch the constraint (existing behavior)
      • If set, then directly set `spec.enforcementAction` in the Gatekeeper constraint
      • Should be settable at the policyDefaults, policy, and manifest levels (i.e. like the `ConfigurationPolicyOptions` struct).

       Related: https://github.com/open-cluster-management-io/policy-generator-plugin/issues/155
       

              yikim@redhat.com Yi Rae Kim
              dhaiduce Dale Haiducek
              Derek Ho Derek Ho
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: