Adds a custom patch maker for k8s object matching library to support Istio proto based api/resources.
Why?
There is an issue using the default patch maker in the k8s object matcher library with proto based Istio api/resources. This is mainly, because there is a discrepancy between the field names in json and proto tags for some fields and that causes issue with the upstream k8s strategic merge patcher library field detection.
What's in this PR?
Adds a custom patch maker for k8s object matching library to support Istio proto based api/resources.
Why?
There is an issue using the default patch maker in the k8s object matcher library with proto based Istio api/resources. This is mainly, because there is a discrepancy between the field names in
json
andproto
tags for some fields and that causes issue with the upstream k8s strategic merge patcher library field detection.Checklist