Dmitriy Kalinin

Results 407 comments of Dmitriy Kalinin

first pass: https://github.com/k14s/ytt/commit/d7c7e0afa683d54d48f1359fb0dfdce32fbe26eb

[The Hardest Program I've Ever Written – How a code formatter works (2015) (stuffwithstuff.com)](https://news.ycombinator.com/item?id=22706242) has some good discussion about code formatting.

@damienleger i think this is a reasonable change we can make. just have to decide whether we should do it by default. i think we've done something similar for other...

yeah, but how do we implement something like that. matchers could be arbitrarily complex in their logic (and we do not know what it is). does this only makes to...

proposal work happening here: https://github.com/k14s/design-docs/tree/develop/ytt/001-schemas

TBD: - [ ] how to add more things to schema? (via overlays similar to data values) - [ ] provide programmatic schema.apply() (similar to overlay.apply) - [ ] respect...

> How will the user specify the schema at template render time? ytt -f my-schema.yml -f my-values.yml -f my-template.yml? What happens if the user does not specify the schema file?...

> I should probably express my schema in that template. in a lot of cases multiple templates use same set of data values. im not sure how we would avoid...

one thing we were considering is having a way to get openapi/jsonschema out of ytt schema. this is similar to how folks build openapi k8s schema for crds based on...

> From OpenAPI to ytt schema? doable as well. > Do you have some ideas on how we could leverage the existing tooling? most of the tooling in openapi ecosystem...