feat: add Istio VirtualService Requestmatch to UDS Operator#129
feat: add Istio VirtualService Requestmatch to UDS Operator#129jeff-mccoy merged 10 commits intomainfrom
Conversation
|
Thanks for doing this so fast @jeff-mccoy. It might have been a conscious choice but I don't think this implementation will satisfy the GitLab example in the issue where a single service is exposing multiple ports. For other's context this is what the example VS with |
|
Yeah I looked at the example, this should work, but slightly differently (as in 2 expose entries) and dropping the fault entry. I looked at why they were doing that and there are other ways in istio to do that--including using regex in this match to never include the value. |
|
That suggestion implies we will create two separate VS? Definitely understand the trade off to keep the The way the VS are named today it won't let you create multiple VS for a particular pkg/gateway/host combo and overwrites the previous one. We could potentially merge multiple |
🤖 I have created a release *beep* *boop* --- ## [0.10.0](v0.9.2...v0.10.0) (2024-01-26) ### Features * add Istio VirtualService Requestmatch to UDS Operator ([#129](#129)) ([a207197](a207197)) ### Miscellaneous * **deps:** update grafana to v10.3.1 ([#132](#132)) ([09e028c](09e028c)) * **deps:** update istio to v1.20.2 ([#75](#75)) ([671f977](671f977)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
🤖 I have created a release *beep* *boop* --- ## [0.10.0](defenseunicorns/uds-core@v0.9.2...v0.10.0) (2024-01-26) ### Features * add Istio VirtualService Requestmatch to UDS Operator ([#129](defenseunicorns#129)) ([a207197](defenseunicorns@a207197)) ### Miscellaneous * **deps:** update grafana to v10.3.1 ([#132](defenseunicorns#132)) ([09e028c](defenseunicorns@09e028c)) * **deps:** update istio to v1.20.2 ([#75](defenseunicorns#75)) ([671f977](defenseunicorns@671f977)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>




Description
This PR introduces Istio VirtualService HttpMatchRequest rules for the UDS Operator
exposefield. While a bit more limited than their Istio counterparts, the following fields are carried over into UDS:ignoreUriCasemethodname* UDS requires this field (optional in Istio)queryParamsuriAdditional this PR mirrors naming validation/generation behavior UDS Operator uses for
allowentries, including adding an optionaldescriptionfield to name the generated resource.Related Issue
Fixes #114
Type of change