Add a Kustomize plugin to OpenShift GitOps in RHOCP4

Solution Verified - Updated -


  • Openshift GitOps apps reporting an error unable to find plugin root.
ComparisonError: rpc error: code = Unknown desc = `kustomize build /test/appconfig --enable-alpha-plugins` failed exit status 1: Error: loading generator plugins: unable to find plugin root - tried: ('<no value>'; homed in $KUSTOMIZE_PLUGIN_HOME), ('<no value>'; homed in $XDG_CONFIG_HOME), ('/.config/kustomize/plugin'; homed in default value of $XDG_CONFIG_HOME), ('/kustomize/plugin'; homed in home directory)
  • Unable to add Kustomize plugins in Openshift GitOps.


  • Red Hat OpenShift Container Platform 4

  • Red Hat OpenShift GitOps

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content