kruise
kruise copied to clipboard
[GLCC] Genereate openapi schema for kustomize
OpenKruise does not work very well with kustomize. kustomize strategic merge only support k8s native resource type, and json patch is unable to merge array element using merge keys such as container name.
However, kustomize support using openapi schema to specify merge key and patch strategy.
Background information can be refer: https://tech.aabouzaid.com/2022/11/set-openapi-patch-strategy-for-kubernetes-custom-resources-kustomize.html
The programme can be refer: https://github.com/argoproj/argo-rollouts/pull/1371
What would you like to be added: generate openapi for openkruise resource types
Why is this needed: Enable kustomize to patch correctly OpenKruise types.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
/reopen
@furykerry: Reopened this issue.
In response to this:
/reopen
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.
Background information can be refer: https://tech.aabouzaid.com/2022/11/set-openapi-patch-strategy-for-kubernetes-custom-resources-kustomize.html
The programme can be refer: https://github.com/argoproj/argo-rollouts/pull/1371
@zmberg Hi, May I ask if this is the only selected issue for GLCC? Maybe I can take this. But it seems that this issue does not require too much proposal design. May I ask what content I need to prepare when applying?
@y-ykcir Yes, this is glcc project. And you can apply for it in glcc.