Marko Mikulicic
Marko Mikulicic
what about a "deep map" function that can do things such "add a label to all things" but preserving the original structure?
> passing an object through a jsonnet function evaluates all the `self` expressions what do you mean? ``` local x = { a: self.b + 2, b:: 2, }; local...
There is indeed a problem with `std.mapWithKey` though: it does effectively manifest the object (killing all lazy expressions and also hidden fields)
A more practical example of what I'm talking about. Given: ``` // mapObjects applies func on every object in a tree. local mapObjects(obj, func=function(n, o) {}) = { [n]+: mapObjects(obj[n],...
it seems that the recursive jsonnet walk fits as a kubecfg primitive (so we know it uses the very same logic used by kubecfg internally). On the same note, perhaps...
Yeah this was something I'd wanted to attack for a long time now. I'm happy to see there is public interest too.
We should fix that and have "show" behave like update
I reproduced in 0.5.0 but I cannot reproduce in 0.6.0; it might be (accidentally?) fixed.
I was thinking to add support for using a label selector; wdyt?
what about (also) limiting by subtree with a dot separated "path"?