structured-merge-diff icon indicating copy to clipboard operation
structured-merge-diff copied to clipboard

Test cases and implementation for "server-side apply"

Results 16 structured-merge-diff issues
Sort by recently updated
recently updated
newest added

Hi, is there and example/some doc you can point me on how to use structured merge diff from a controller

lifecycle/stale

While investigating https://github.com/kubernetes/kubernetes/issues/107417 , I found that at least at the level of structured merge diff, `Apply` doesn't cause conflict with `Update` if manager name is the same. This PR...

cncf-cla: yes
size/M
ok-to-test

The approach taken by json-iterator and its reflect library is not long-term stable (it pins to internal details of the stdlib reflect package), and requires maintenance per go release, which...

lifecycle/frozen

https://github.com/kubernetes-sigs/structured-merge-diff/blob/17912732856ce1817c889fd8a8815083f6e0f826/typed/helpers.go#L211-L213 i was hitting above line when using an atomic map as the element of a set-list. is there a plan for supporting such schema? thanks! @apelisse @jennybuckley

lifecycle/frozen

I'm told that 1.16 supports interpreting a CRD which has `x-kubernetes-list-map-type` and `x-kubernetes-list-map-keys` properties. Please document somewhere an example of a CRD that uses these, so the syntax is clear....

lifecycle/frozen

Hello, We have observed in [Crossplane](https://github.com/crossplane/crossplane) project's [CNCF fuzzing tests](https://github.com/cncf/cncf-fuzzing/tree/main/projects/crossplane) that `runtime.DefaultUnstructuredConverter.ToUnstructured` (from `k8s.io/[email protected]`) consuming `sigs.k8s.io/structured-merge-diff/[email protected]` panics with the following sample program: ```go package main import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/runtime"...

Hello! We are developing a custom operator and utilizing fluxCD. We have the `v1alpha1` custom resource which is deployed by fluxCD. When we upgraded the custom resource operator from `v1alpha1`...

Signed-off-by: amolmote Fixes #225

cncf-cla: yes
needs-ok-to-test
size/XS

## Bug Report *Problem* [This page ](https://github.com/kubernetes-sigs/structured-merge-diff/blob/master/CONTRIBUTING.md) has one broken link of `contributor cheat sheet` which needs to fix. *solution* need to locate the correct path of README. /assign /kind...

kind/bug
kind/documentation

fixes https://github.com/kubernetes-sigs/structured-merge-diff/issues/202 Replaces "github.com/json-iterator/go" with "sigs.k8s.io/json" and "encoding/json". TODO: compare benchmarks before and after

lifecycle/rotten
do-not-merge/hold
cncf-cla: yes
needs-rebase
size/XL