Uploaded image for project: 'OpenShift GitOps'
  1. OpenShift GitOps
  2. GITOPS-1945

Add support for the ACM PolicyGenerator to the GitOps operator

XMLWordPrintable

    • Icon: Epic Epic
    • Resolution: Done
    • Icon: Normal Normal
    • 1.7.0
    • None
    • Operator
    • None
    • ACM Policy Generator Support
    • False
    • Hide

      None

      Show
      None
    • False
    • To Do
    • 0% To Do, 0% In Progress, 100% Done

      Context

      From the ACM issue: "In order for OpenShift GitOps to have access to the policy generator when you run Kustomize, a custom container image must be used."

      From the linked blog post: 

      "You must also configure the OpenShift GitOps operator to allow Kustomize plugins with the following command:"

      oc n openshift-gitops patch argocd openshift-gitops --type merge --patch '{"spec": {"kustomizeBuildOptions": "-enable_alpha_plugins"}}'

       

      Description

      We would like to provide support for the ACM policy generator so that users don't have to create a custom container image or patch the operator to allow Kustomize plugins.

       

      Possible approaches from jfischer@redhat.com:

      • Ship the policy generator kustomize plugin as part of our downstream image
      • Implement a new config management plugin

      Potential issues:

      • Tying the policy generator plugin's releases to the GitOps release cycle rather than ACM's, increasing the support load on our team
      • Losing first-class Kustomize features

      Questions:

      • Do we want to also provide GitOps access to create policies on the RHACM hub cluster? This is a step included in the workaround, but from a security standpoint perhaps should stay as a manual `oc apply`?

       

      Acceptance criteria

      • Users do not have to make changes to the base image to use the ACM policy generator
      • Users can use Kustomize to access the policy generator

              saumeyakatyal Saumeya Katyal (Inactive)
              halawren@redhat.com Harriet Lawrence (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: