-
Notifications
You must be signed in to change notification settings - Fork 575
Closed
Description
These tasks can be done in one PR or in multiple PRs. Only caveat is that the targetRef proto definition needs to exist first before being added as a field to the different places we want to update, so we'll need to add that as a first step.
- Create targetRef proto definition and
add it to istio/api/gateway. Gateway directory will be a new directory[UPDATE] it should be added to istio/api/types. The proto definition should look like what's defined in the gateway api spec for PolicyTargetReference: GEP-713: Metaresources and Policy Attachment_metaresource_ - Kubernetes Gateway API (k8s.io) - add targetRef field to AuthorizationPolicy CRD via proto definition, add any necessary docs within the proto file
- add targetRef field to Telemetry CRD via proto definition, add any necessary docs within the proto file
- add targetRef field to WasmPlugin CRD via proto definition, add any necessary docs within the proto file
-
add targetRef field to ProxyConfig CRD via proto definition, add any necessary docs within the proto fileUPDATE: Decided not to do this, see comment here. - add targetRef field to RequestAuthentication CRD via proto definition, add any necessary docs within the proto file
Note: Be sure to run make gen-proto locally after a proto update to ensure the necessary protobuf related files are generated. Documentation in the proto is also referenced by some automation in place which will generate docs off of it. Look at some examples like the PR for jwt.proto to see how documentation within the proto can look. Last but not least, be sure to include release notes.