mirror of
https://github.com/holos-run/holos.git
synced 2026-03-20 17:25:01 +00:00
Cue uses --inject, -t as the flags to set variables for fields tagged using @tag(var,type=string). We used --tag, which is different and requires a mental mapping. Let's use the same flag and also pass it multiple times like they require so we can copy and paste the command line output from the debug logs into a cue export command to see what's going on. This patch deprecates the --cluster-name flag, use --inject holos_cluster=mycluster instead. This patch also removes the environment field from the Component core API, leaving this to the user namespace to define via tags. We don't want to be too opinionated on how users manage their platform, baking environment into the schema is a slippery slope toward those kinds of opinions. Closes: #276