UNCLASSIFIED - NO CUI

Skip to content

undefined variable: $imageCfg after configuring backups

We are experiencing a chart rendering error when configuring backups with an Azure storage account. We used these instructions to configure backups.

$ helm template gitlab ../gitlab-charts/gitlab-6.10.0-bb.0.tgz -f ../overlays/test/values.yaml > test.yaml 
Error: template: gitlab/charts/gitlab/charts/toolbox/templates/backup-job.yaml:96:52: executing "gitlab/charts/gitlab/charts/toolbox/templates/backup-job.yaml" at <$imageCfg>: undefined variable: $imageCfg

I originally suspected this originated upstream with Gitlab (here). They found a difference between theirs and your backup-job.yaml file. Paraphrasing them, line 92 should be placed after your current line 94.

Edited by Samuel Marrs