Skip to content

Commit

Permalink
Fix the annotations iteration in job-create-site
Browse files Browse the repository at this point in the history
  • Loading branch information
MohammedNoureldin authored May 28, 2024
1 parent c54782d commit 275c25f
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions erpnext/templates/job-create-site.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ metadata:
labels:
{{- include "erpnext.labels" . | nindent 4 }}
annotations:
{{- if .Values.jobs.createSite.annotations }}
{{- range .Values.jobs.createSite.annotations }}
{{ . }}
{{- end }}
{{- end }}
{{- with .Values.jobs.createSite.annotations }}
{{- range $key, $value := . }}
{{ $key }}: {{ $value | quote }}
{{- end }}
{{- end }}
spec:
backoffLimit: {{ .Values.jobs.createSite.backoffLimit }}
template:
Expand Down

0 comments on commit 275c25f

Please sign in to comment.