Skip to content

Commit

Permalink
changed condition
Browse files Browse the repository at this point in the history
  • Loading branch information
SarhadMeta committed Oct 15, 2024
1 parent ff81331 commit 98f142b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions charts/base/templates/job.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{{- if .Values.job -}}
{{- if .Values.job.image -}}
apiVersion: batch/v1
kind: Job
metadata:
Expand All @@ -18,7 +18,7 @@ spec:
template:
metadata:
annotations:
configmap: "{{ .Values.config | toYaml | sha256sum | trunc 8 }}"
configmap: "{{ .Values.config | toYaml | sha256sum | trunc 8 }}"
{{- with .Values.podAnnotations }}
{{- toYaml . | nindent 8 }}
{{- end }}
Expand Down

0 comments on commit 98f142b

Please sign in to comment.