Using the #Bundle CUE schema in vanilla CUE #500
Unanswered
bcbrockway
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hey, I'm writing a config schema that we'll use to generate a bundle file that can then be used with a Timoni module. The reason for doing this is so that developers can create all their infrastructure (not just k8s-based) with one YAML file. I can't figure out how to get/use the Timoni #Bundle in vanilla CUE though. I've tried:
But then the #Bundle that is produced is not the right schema (it should be #BundleSchema I believe, but that gets imported as a string). I've also tried
timoni artifact pull oci://ghcr.io/stefanprodan/timoni/schemas -o cue.mod/pkgbut that doesn't include #Bundle. It's not the end of the world as I can just grab the schema from the docs but it'd be great if there was a proper way to pull this from upstream so I don't have to manually check it when we update Timoni.Beta Was this translation helpful? Give feedback.
All reactions