redpanda-data / helm-charts

Redpanda Helm Chart
http://redpanda.com
Apache License 2.0
77 stars 96 forks source link

Add console subchart in redpanda helm chart #1558

Closed RafalKorepta closed 4 weeks ago

RafalKorepta commented 1 month ago

This PR is based on top of https://github.com/redpanda-data/helm-charts/pull/1557

https://github.com/redpanda-data/helm-charts/pull/1558/commits/caedc4a279b3808cb6324df91a247f990a51b6cc

Support full Console volumes

The Console partial values are used for pragmatic reasons as genpartial does not convert console.Values to console.PartialValues inside Redpanda Values partial generation. In both structs the type is the same. Unit tests that marshals Redpanda partial values into file does not work as expected. The console part of the marshalled values have multiple empty strings or nulls. It is caused by the fact omitempty is not always set in Console.Values. In normal template evaluation those nulls and empty strings would be replaced by default values from values.yaml file. To unblock operator integration Console.PartialValues is used, until genpartail is smart enough.

https://github.com/redpanda-data/helm-charts/pull/1558/commits/598dfe90d9458e89ececa3e3a3f1b05068ccaf61

Add Console as subchart in Redpanda chart

https://github.com/redpanda-data/helm-charts/pull/1558/commits/ac9795eb6a3d5d40c72e619f7ec00a0cd1f54822

Use certification path const in all places