redpanda-data / helm-charts

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

Handle corev1.Volume in Unwrap function #1553

Closed RafalKorepta closed 1 month ago

RafalKorepta commented 1 month ago

When helm chart values would have declared and used corev1.Volume, then unwrap function would fail in case calling it from go runtime. Many functions have the following unwrap call:

values := helmette.Unwrap[Values](dot.Values)

which fails when unit test that compares go rendered vs helm template rendered kubernetes objects.