redpanda-operator icon indicating copy to clipboard operation
redpanda-operator copied to clipboard

Sync helm-chart values and Redpanda CRD

Open chrisseto opened this issue 1 year ago • 0 comments

This is a tracking issue for generating most or all of the Redpanda CRD from the Values struct in the helm chart repo. We've seen issues ranging from typos, mistyped values, to subtle marshaling misbehaviors due to not having the structs be automatically in sync.

Unfortunately, it seems likely that we'll need to write a custom CRD generator as controller-gen doesn't really get along with the way that our values structs are defined. We'll also need to ensure that both our JSON schema for the helm chart and the CRD schema being generated are roughly in sync. To top it all off, we'll actually need to be using the generated PartialValues struct as that is what the CRD schema actually should be.

JIRA Link: K8S-235

chrisseto avatar May 22 '24 18:05 chrisseto