NewBie: Evaluation of CUE #508
Replies: 2 comments 3 replies
-
If we are looking for the direct answer for those challenges, CUE's upcoming query syntax and code modification capabilities would be a good fit to automate configuration changes (may be only exposed through the Go API right now, unsure). It seems that you control the platform this is used in. Instead of making a tool to make these changes, would you able to make these changes for the user without their intervention? If you are open to changing your approach, I do have some ideas on how you can use CUE, especially if you are using Kubernetes |
Beta Was this translation helpful? Give feedback.
-
This discussion has been migrated to cue-lang/cue#508. For more details about CUE's migration to a new home, please see cue-lang/cue#1078. |
Beta Was this translation helpful? Give feedback.
-
Hello everyone,
Newbie Q:
We are working on large number of configuration json files and evaluating CUE to perform operations on that huge data.
Here my requirement is to create & update json files based on requirements.
We are thinking such a way that create/update json files with CUE.
my repo:
one of my json file
use-case 1:
Based on module_enabled= "1", needs to be updated above json like below
My idea is to provide higher level cue to the users like
use-case 2:
Need to create new json cost_optimization_sep_2020 from cost_optimization_aug_2020 and update field value of metadata.name.
For this higher level cue file is
How can i achieve these kind of operations with CUE ? please provide me some example for my two use-cases
Beta Was this translation helpful? Give feedback.
All reactions