Closed edcdavid closed 4 months ago
@mprahl Could you give this another review (and unhold if you approve)?
[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: dhaiducek, edcdavid, mprahl
The full list of commands accepted by this bot can be found here.
The pull request process is described here
/unhold
@edcdavid thanks for the contribution!
This is an attempt to resolve https://github.com/open-cluster-management-io/policy-generator-plugin/issues/142
In this PR we define a new
openapi
field in the policy genrator manifest object. This object has the same definition as the similarly define object in kustomize (see https://kubectl.docs.kubernetes.io/references/kustomize/kustomization/openapi/)The openapi object defined a openapi path per manifest, which allows merging CRDs containing list of objects. The openapi schema file can cover multiple CRs.
Docs (part of this PR): link