cloudposse / charts

The "Cloud Posse" Distribution of Kubernetes Applications
https://cloudposse.com/accelerate
Apache License 2.0
158 stars 63 forks source link

Fixes bad check for serviceAccountName #257

Closed asiegman closed 4 years ago

asiegman commented 4 years ago

When not defined, the cronjob fails in helm with:

  Error: Failed to render chart: exit status 1: Error: template: monochart/templates/cronjob.yaml:40:7: executing "monochart/templates/cronjob.yaml"
 at <index .Values "serviceAccountName">: error calling index: index of untyped nil     

This should fix that.