3 ms·
I played with Cue last year and while I think the concept is interesting, I've been struggling a bit with actually finding a good application for the technology
by wvh 5y ago
I played with Cue last year and while I think the concept is interesting, I've been struggling a bit with actually finding a good application for the technology. I'd be more interested in using it for validation as a less brain-dead alternative to e.g. json-schema but the documentation talks mostly about manifest generation and Kubernetes-oriented workflows, which already has Kustomize and Jsonnet and templating solutions like Helm.
- verdverm 5y agoThere is "cue vet" for command line validation. Are you more interested in validation in APIs? There are interesting use cases for ETL. I have written a tool that generates full-stack code using CUE as the declarative input for your types. (https://github.com/hofstadter-io/hof https://github.com/hofstadter-io/hof) For CI/CD from source to production, see https://dagger.io https://dagger.io by the creators of Docker. That is a super cool project. I no longer use Helm now that I use CUE, at least I no longer write charts. We do need a Helm like workflow tool built on CUE to replace the text/templating of Yaml Once "cue mod" is managing deps, there is potential for increased and better sharing of module configuration, much like Helm is for kubernetes applications.