forked from kubernetes-sigs/controller-runtime
-
Notifications
You must be signed in to change notification settings - Fork 0
Permalink
Choose a base ref
{{ refName }}
default
Choose a head ref
{{ refName }}
default
Comparing changes
Choose two branches to see what’s changed or to start a new pull request.
If you need to, you can also or
learn more about diff comparisons.
Open a pull request
Create a new pull request by comparing changes across two branches. If you need to, you can also .
Learn more about diff comparisons here.
base repository: CecileRobertMichon/controller-runtime
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}
default
Loading
...
head repository: CecileRobertMichon/controller-runtime
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: release-0.7
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}
default
Loading
Able to merge.
These branches can be automatically merged.
- 7 commits
- 4 files changed
- 5 contributors
Commits on Dec 15, 2020
-
🐛 Cache bypass should take into account List types
Currently, when we create a new delegating client and we force some types to be uncached, we can only specify client.Object(s). When these objects are passed to the delegating client, and their GVK is matched against the internal map, the check doesn't take into account that the client might be issuing a List call with a ObjectList instead of a metav1.Object. The proposed solution is taken from the discovery rest mapper, which does the same ~hack. While it's not perfect, probably close to all generated objects are going to have a list that has the "List" suffix, that when removed gives back the original GVK. If there are other solutions, happy to change this hack. Signed-off-by: Vince Prignano <vincepri@vmware.com>
Configuration menu - View commit details
-
Copy full SHA for 81be036 - Browse repository at this point
Copy the full SHA 81be036View commit details -
Merge pull request kubernetes-sigs#1298 from vincepri/backport1297
🐛 Cache bypass should take into account List types
Configuration menu - View commit details
-
Copy full SHA for 096b2e0 - Browse repository at this point
Copy the full SHA 096b2e0View commit details
Commits on Jan 11, 2021
-
🐛 pkg/log: Set Log to NullLogger after 30 seconds
The delegating Logger will cause a high number of memory allocations when no actual Logger is set. This change makes us set a NullLogger after 30 seconds if none was set yet to avoid that.
Configuration menu - View commit details
-
Copy full SHA for fd8a642 - Browse repository at this point
Copy the full SHA fd8a642View commit details -
Do not set PatchType if patch is empty
In admission v1, API server requires that Patch and PatchType are both provided or none are provided. Meanwhile, admission v1beta1 does not have this kind of requirement. In controller-runtime, PatchResponseFromRaw sets PatchType regardless of the existence of patch. If patch is empty, a response contains only PatchType and API server does not like it. Webhook call fails. This change fixes this issue by not setting PatchType if patch is empty.
Configuration menu - View commit details
-
Copy full SHA for 7684ee5 - Browse repository at this point
Copy the full SHA 7684ee5View commit details -
Merge pull request kubernetes-sigs#1329 from vincepri/backport-071
🌱 Backport bug fixes for v0.7.1 release
Configuration menu - View commit details
-
Copy full SHA for 1d5261b - Browse repository at this point
Copy the full SHA 1d5261bView commit details
Commits on Jan 20, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 0b59b8f - Browse repository at this point
Copy the full SHA 0b59b8fView commit details
Commits on Jan 21, 2021
-
Merge pull request kubernetes-sigs#1351 from estroz/cherry-pick/1332
🐛 pkg/client: optionally allow caching of unstructured objects
Configuration menu - View commit details
-
Copy full SHA for d189419 - Browse repository at this point
Copy the full SHA d189419View commit details
There are no files selected for viewing