Ambient: In ambient index, filter configs by revision#56477
Ambient: In ambient index, filter configs by revision#56477istio-testing merged 3 commits intoistio:masterfrom
Conversation
howardjohn
left a comment
There was a problem hiding this comment.
lgtm aside from some comments
| remoteClientConfigOverrides: options.RemoteClientConfigOverrides, | ||
| } | ||
|
|
||
| filter := kclient.Filter{ |
There was a problem hiding this comment.
I think we don't want this for Gateways. A user will set a rev on a gateway to make it programmed by istiod-A, but istiod-B needs to know about it.
|
|
||
| filter := kclient.Filter{ | ||
| ObjectFilter: options.Client.ObjectFilter(), | ||
| ObjectFilter: kubetypes.ComposeFilters(options.Client.ObjectFilter(), a.inRevision), |
There was a problem hiding this comment.
This should only be on configuration objects to maintain consistency. So not Services seems to be the only one violating this currently. Maybe renaming filter to make that clear would help avoid future mis-use as well
|
/retest |
|
@vikaschoudhary16: The following test failed, say
DetailsInstructions 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-sigs/prow repository. I understand the commands that are listed here. |
* In ambient index, filter configs by revision * release notes * Address feedback Signed-off-by: Vikas Choudhary (vikasc) <choudharyvikas16@gmail.com>
|
@howardjohn is this safe to backport? |
…56477) (#56689) * Ambient: In ambient index, filter configs by revision (#56477) * In ambient index, filter configs by revision * release notes * Address feedback Signed-off-by: Vikas Choudhary (vikasc) <choudharyvikas16@gmail.com> * Update releasenotes/notes/56477.yaml --------- Signed-off-by: Vikas Choudhary (vikasc) <choudharyvikas16@gmail.com> Co-authored-by: Daniel Hawton <daniel@hawton.org>
…stio#56477) (istio#56689) * Ambient: In ambient index, filter configs by revision (istio#56477) * In ambient index, filter configs by revision * release notes * Address feedback Signed-off-by: Vikas Choudhary (vikasc) <choudharyvikas16@gmail.com> * Update releasenotes/notes/56477.yaml --------- Signed-off-by: Vikas Choudhary (vikasc) <choudharyvikas16@gmail.com> Co-authored-by: Daniel Hawton <daniel@hawton.org> Signed-off-by: Vikas Choudhary (vikasc) <choudharyvikas16@gmail.com>
…56477) (#56689) (#56713) * Ambient: In ambient index, filter configs by revision (#56477) * In ambient index, filter configs by revision * release notes * Address feedback * Update releasenotes/notes/56477.yaml --------- Signed-off-by: Vikas Choudhary (vikasc) <choudharyvikas16@gmail.com> Co-authored-by: Daniel Hawton <daniel@hawton.org>
* upstream/master: (28 commits) Automator: update common-files@master in istio/istio@master (istio#56545) Automator: update proxy@master in istio/istio@master (istio#56544) Automator: update go-control-plane in istio/istio@master (istio#56543) Automator: update proxy@master in istio/istio@master (istio#56540) Automator: update ztunnel@master in istio/istio@master (istio#56532) Ambient: In ambient index, filter configs by revision (istio#56477) Automator: update istio/client-go@master dependency in istio/istio@master (istio#56539) Automator: update proxy@master in istio/istio@master (istio#56538) Automator: update common-files@master in istio/istio@master (istio#56537) optimization: allow for lazy sidecar initialization (istio#47221) static collection eager indexes (istio#56530) fix typo in flag (istio#56534) feat: enable support for proxy protocol on status port (istio#55986) remove finding of pods by IP (istio#56502) Automator: update proxy@master in istio/istio@master (istio#56528) migrate file monitor to krt (istio#55970) Automator: update istio/client-go@master dependency in istio/istio@master (istio#56525) Automator: update ztunnel@master in istio/istio@master (istio#56518) Fix crash in merging http routes (istio#56499) krt: add assertions (istio#56510) ...
Please provide a description of this PR:
Unlike sidecar mode, ambient index does not filter configs by revision. For example if istiod is revision
stableand config CRs such as authz policy arecanaryrevision labelled, still these configs are in ambient index and pushed to ztunnel.This PR is adding the config filtering by revision.