Add patch support (with merge strategy) for containers and env elements in the OpenAPI spec #15416
Labels
area/API
API objects and controllers
kind/feature
Well-understood/specified features, ready for coding.
kind/spec
Discussion of how a feature should be exposed to customers.
lifecycle/stale
Denotes an issue or PR has remained open with no activity and has become stale.
/area API
/kind spec
Describe the feature
When using kustomize on a knative yaml (e.g. to create a Cloud Run service), patching env elements from multiple yaml files causes the elements to be replaced instead of being merged. To support merging env elements, as well as other array elements, we need to add x-kubernetes-patch-* attributes to the openAPI spec.
For example:
The text was updated successfully, but these errors were encountered: