Skip to content

Commit

Permalink
Fixes bad check for serviceAccountName (#257)
Browse files Browse the repository at this point in the history
  • Loading branch information
asiegman authored Aug 13, 2020
1 parent 08e9335 commit 1e03299
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions incubator/monochart/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
apiVersion: v1
description: A declarative helm chart for deploying common types of services on Kubernetes
name: monochart
version: 0.23.0
appVersion: 0.23.0
version: 0.23.1
appVersion: 0.23.1
home: https://github.com/cloudposse/charts/tree/master/incubator/monochart
icon: https://raw.githubusercontent.com/cloudposse/charts/master/incubator/monochart/logo.png
maintainers:
Expand Down
4 changes: 2 additions & 2 deletions incubator/monochart/templates/cronjob.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ spec:
{{ toYaml .| indent 12 }}
{{- end }}
spec:
{{- if index .Values "serviceAccountName" }}
serviceAccountName: {{ .Values.serviceAccountName }}
{{- if index $root.Values "serviceAccountName" }}
serviceAccountName: {{ $root.Values.serviceAccountName }}
{{- end }}
restartPolicy: '{{ default "Never" $cron.restartPolicy }}'
containers:
Expand Down

0 comments on commit 1e03299

Please sign in to comment.