News for hackers. Stuff that matters.
Re:Helm v4.0.0 by verdverm on Wednesday November 12, 2025 @12:34PM (#45903033)
Helm is my example of where DevOps lost it's way. The insanity of multiple tiers on templating an invisible char scoped language... it blows my mind that so many of us just deal with it

Nowadays I'm using CUE in front of TF & k8s, in part because I have workloads that need a bit of both and share config. I emit tf.json and Yaml as needed from a single source of truth

Re:Helm v4.0.0 by mkroman on Wednesday November 12, 2025 @12:38PM (#45903089)
shudders.. `| nindent 12`..

I've been trying to apply CUE to my work, but the tooling just isn't there for much of what I need yet. It also seems really short-sighted that it is implemented in Go which is notoriously bad for embedding.

Re:Helm v4.0.0 by verdverm on Wednesday November 12, 2025 @01:12PM (#45903580)
> seems really short-sighted that it is implemented in Go

CUE was a fork of the Go compiler (Marcel was on the Go team at the time and wanted to reuse much of the infra within the codebase)

Also, so much of the k8s ecosystem is in Go that it was a natural choice.

Re:Helm v4.0.0 by mkroman on Wednesday November 12, 2025 @04:35PM (#45907083)
> CUE was a fork of the Go compiler (Marcel was on the Go team at the time and wanted to reuse much of the infra within the codebase)

Ah, that makes sense, I guess. I also get the feeling that the language itself is still under very active development, so until 1.0 is released I don't think it matters too much what it's implemented in.

> Also, so much of the k8s ecosystem is in Go that it was a natural choice.

That might turn out to be a costly decision, imho. I wanted to use CUE to manage a repository of schema definitions, and from these I wanted to generate other formats, such as JSON schemas, with constraints hopefully taken from the high-level CUE.

I figured I'd try and hack something together, but it was a complete non-starter since I don't work within the Go ecosystem.

Projects like the cue language live and breathe from an active community with related tooling, so the decision still really boggles my mind.

I'll stay optimistic and hope that once it reaches 1.0, someone will write an implementation that is easily embedded for my use-cases. I won't hold my breath though, since the scope is getting quite big.

Re:Helm v4.0.0 by verdverm on Wednesday November 12, 2025 @07:24PM (#45908868)
what language would you have chosen?

> I wanted to use CUE to manage a repository of schema definitions, and from these I wanted to generate other formats, such as JSON schemas, with constraints hopefully taken from the high-level CUE.

Have you tried a Makefile to run cue? There should be no need to write code to do this

Re:Helm v4.0.0 by lifty on Thursday November 13, 2025 @04:30AM (#45912740)
Why don't you work with the Go ecosystem? You don't use K8s, terraform, etc? What ecosystem do you prefer?
Re:Helm v4.0.0 by hvenev on Wednesday November 12, 2025 @12:50PM (#45903256)
Back when my job involved using Kubernetes and Helm, the solution I found was to use `| toJson` instead: it generates one line that happens to be valid YAML as well.
Re:Helm v4.0.0 by lucyjojo on Thursday November 13, 2025 @02:23AM (#45911790)
cue and argocd here. it is pretty neat.

the tf is still in hcl form for now.

Re:Helm v4.0.0 by gopaz on Thursday November 13, 2025 @02:30AM (#45911852)
Holos[1] is an interesting project I’ve been looking at trying out.

1. https://holos.run/

Re:Helm v4.0.0 by verdverm on Thursday November 13, 2025 @03:20AM (#45912228)
I've looked at Holos recently

1. it seems like development has largely ceased since Sept

2. it looks to only handle helm, not terraform, I'm looking for something to unify both and deal with dependencies between charts (another thing helm is terrible at)

Re:Helm v4.0.0 by jonasdegendt on Thursday November 13, 2025 @02:58AM (#45912067)
We evaluated CUE, Jsonnet and CDK8s when we wanted to move on from Helm, and ended up using CDK8s. It's proven to be a good pick so far, it's in Typescript.
Re:Helm v4.0.0 by carlhjerpe on Thursday November 13, 2025 @08:38AM (#45914756)
Both Jsonnet and CUE are implemented in Go which happens to be the language Helm is written in. While I agree that it reduces "general embedability" it's ripe fruit for Helm to integrate either or both of these as alternatives to YAML templating.
Re:Helm v4.0.0 by candiddevmike on Wednesday November 12, 2025 @12:57PM (#45903378)
RIP Ksonnet, we hardly knew what we were missing
Re:Helm v4.0.0 by verdverm on Wednesday November 12, 2025 @01:10PM (#45903553)
jsonnet is the main DX issue therein
Re:Helm v4.0.0 by pjmlp on Thursday November 13, 2025 @04:46AM (#45912838)
The problem with Kubernetes, Docker and anything CNCF related is what happens when everyone and their dog tries to make a business out of an OS capability with venture capital.