Closed chrisseto closed 3 months ago
This commit adds a basic test for asserting that the Go code and helm templates generate equivalent manifests.
While gotohelm itself has many tests performing these assertions, the complexity of the redpanda chart warrants additional checks.
This commit also includes a handful of fixes for uncovered divergences:
sigs.k8s.io/yaml
helmette.Empty
omityempty
Tuning
ToJSON
ToYaml
This commit adds a basic test for asserting that the Go code and helm templates generate equivalent manifests.
While gotohelm itself has many tests performing these assertions, the complexity of the redpanda chart warrants additional checks.
This commit also includes a handful of fixes for uncovered divergences:
sigs.k8s.io/yaml
in helmette to ensure consistent encoding/decodinghelmette.Empty
omityempty
's toTuning
to match the sparse behavior ofToJSON
in helmToYaml
to match helmToJSON