Skip to content

Avoid failing when a job compression schedule is not set

Add a default compression value so that rendering does not fail with an exception when not set by the caller:

Error: Failed to render chart: exit status 1:
Error: UPGRADE FAILED: template: lava-server/templates/cronjob.yaml:11:14:
executing "lava-server/templates/cronjob.yaml"
at <.Values.compress.schedule>:
nil pointer evaluating interface {}.schedule

Merge request reports