3 ms·
Looks nice. I guess my question is how easy would it be to implement this into into the providers directly? Reminds me of OPA which I believe does something sim
by encryptluks2 5y ago
Looks nice. I guess my question is how easy would it be to implement this into into the providers directly? Reminds me of OPA which I believe does something similar already.
- verdverm 5y agoDepends on what you mean by providers. There is only a Go implementation at present. The more complicated thing is that it supports imports and modules. A lot of programs may need some adjustment for this concept. For example, what do you put in a k8s ConfigMap? Should a container have an init step to fetch modules? Grafana and Sigstore are making Cuelang first class. There are some other CUE native applications developing in the community.
- charlieegan3 5y agoI wrote a blog post comparing Rego (OPA), Cue and Polar for authorization in Go applications. You might find it interesting: https://charlieegan3.com/posts/2021-05-08-authorization-dsls-in-go/ https://charlieegan3.com/posts/2021-05-08-authorization-dsls...
- verdverm 5y agoThere's an issue on the Cuelang GH that outlines the creators thoughts on Rego, CUE, and admission policies. https://github.com/cue-lang/cue/discussions/818 https://github.com/cue-lang/cue/discussions/818