Skip to content

Commit

Permalink
fix(cronjob-template): fix indentation error (#3)
Browse files Browse the repository at this point in the history
  • Loading branch information
atobaum authored Jan 11, 2024
1 parent 1cd4216 commit 878dab7
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion charts/cronjob-template/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ maintainers:
- name: modusign
url: https://github.com/modusign
name: cronjob-template
version: 1.0.0
version: 1.0.1
24 changes: 12 additions & 12 deletions charts/cronjob-template/templates/cron-job.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ spec:
spec:
{{- with .Values.imagePullSecrets }}
imagePullSecrets:
{{- toYaml . | nindent 8 }}
{{- toYaml . | nindent 12 }}
{{- end }}
{{- if .Values.terminationGracePeriodSeconds }}
terminationGracePeriodSeconds: {{ .Values.terminationGracePeriodSeconds }}
Expand All @@ -69,13 +69,13 @@ spec:
{{- if .Values.extraCommands }}
command:
{{- with .Values.extraCommands }}
{{- toYaml . | nindent 8 }}
{{- toYaml . | nindent 14 }}
{{- end }}
{{- end }}
{{- if .Values.extraArgs }}
args:
{{- with .Values.extraArgs }}
{{- toYaml . | nindent 8 }}
{{- toYaml . | nindent 14 }}
{{- end }}
{{- end }}
envFrom:
Expand All @@ -88,11 +88,11 @@ spec:
name: {{ include "application.name" . }}
{{- end }}
{{- with .Values.envFrom }}
{{- toYaml . | nindent 10 }}
{{- toYaml . | nindent 14 }}
{{- end }}
{{- with .Values.volumeMounts }}
volumeMounts:
{{- toYaml . | nindent 8 }}
{{- toYaml . | nindent 14 }}
{{- end }}
{{- with .Values.livenessProbe }}
livenessProbe:
Expand All @@ -117,28 +117,28 @@ spec:
failureThreshold: {{ .failureThreshold }}
{{- end }}
resources:
{{- toYaml .Values.resources | nindent 10 }}
{{- toYaml .Values.resources | nindent 14 }}
{{- with .Values.lifecycle }}
lifecycle:
{{- toYaml . | nindent 10 }}
{{- toYaml . | nindent 14 }}
{{- end }}
{{- with .Values.initContainers }}
initContainers:
{{- tpl (toYaml .) $ | nindent 6 }}
{{- tpl (toYaml .) $ | nindent 10 }}
{{- end }}
{{- with .Values.affinity | default .Values.affinity }}
affinity:
{{- toYaml . | nindent 8 }}
{{- toYaml . | nindent 12 }}
{{- end }}
{{- with .Values.nodeSelector | default .Values.nodeSelector }}
nodeSelector:
{{- toYaml . | nindent 8 }}
{{- toYaml . | nindent 12 }}
{{- end }}
{{- with .Values.tolerations | default .Values.tolerations }}
tolerations:
{{- toYaml . | nindent 8 }}
{{- toYaml . | nindent 12 }}
{{- end }}
{{- with .Values.volumes }}
volumes:
{{- toYaml . | nindent 6 }}
{{- toYaml . | nindent 12 }}
{{- end }}

0 comments on commit 878dab7

Please sign in to comment.