GoogleContainerTools / kpt-config-sync

Config Sync - used to sync Git, OCI and Helm charts to your clusters.
Apache License 2.0
243 stars 43 forks source link

fix: tollerate stale resource group discovery #1498

Closed karlkfi closed 1 day ago

karlkfi commented 1 day ago

Fixes: b/379943950

Note: This only fixes the problem in the resource-group-controller-manager, and only when Aggregated Discovery is enabled, which is what handles server-side caching of the resource groups. We have other similar but different workarounds in place in the reconciler, which uses slightly methods on the DiscoveryClient and RESTMapper.

google-oss-prow[bot] commented 1 day ago

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: tiffanny29631

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files: - ~~[OWNERS](https://github.com/GoogleContainerTools/kpt-config-sync/blob/main/OWNERS)~~ [tiffanny29631] Approvers can indicate their approval by writing `/approve` in a comment Approvers can cancel approval by writing `/approve cancel` in a comment