hall / kubenix

Kubernetes management with Nix
https://kubenix.org/
MIT License
316 stars 29 forks source link

Use name as fallback merge-key #21

Closed herwigstuetz closed 1 year ago

herwigstuetz commented 1 year ago

This change uses the attribute name if x-kubernetes-patch-merge-key is not the full x-kubernetes-list-map-keys to avoid data corruption.

In particular:

closes hall/kubenix#13

hall commented 1 year ago

Thanks again @herwigstuetz really appreciate the detailed description :100:

I'm OK with the caveat you've described so am happy to merge this now and can consider future solutions down the line if someone else is annoyed enough to solve it.