Dmitriy Kalinin

Results 407 comments of Dmitriy Kalinin

@pivotaljohn hmm, i wonder if we can run set node lines through its own ast parse... should that always succeed, i think so... in theory it should be self-contained (though...

is this not possible with when= kwarg?

``` #@ load("@ytt:overlay", "overlay") #@overlay/match by=overlay.all --- meta: #@overlay/match when="1+" #@overlay/replace preview: false #@overlay/match when=0 #@overlay/insert preview: false ``` this will fail since in both cases involve same map key....

yeah, that's an interesting one to fix. i think best we case scenario here is to figure out how to make error msg more understandable but even that would be...

here is way to do what's in your example: ```yaml #@ load("@ytt:template", "template") #@ def func1(): --- hello: world --- new: document #@ end --- #@ template.replace(func1()) ``` what's happening...

probably two things to consider here: - highlighting yaml structure - highlighting code (starlark) within #@ - highlighting comments (arbitrary text) within #! - support for folding?

would be nice to do a PR to https://github.com/Azure/vscode-kubernetes-tools to not consider it as error.

> Incorrect type. Expected "integer".yaml-schema: kubernetes://schema/apps/v1%40deployment ahhh. that's interesting. the error is actually not about the comment -- take a closer look at the squiggly. it's saying that replicas value...

not planning to rely yaml.v3...