Skip to content

Commit

Permalink
(fix) (#16)
Browse files Browse the repository at this point in the history
  • Loading branch information
mishraomp authored Oct 16, 2023
1 parent d3fbe3f commit 8208bd1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion charts/component/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.0.9
version: 0.0.10

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand Down
6 changes: 2 additions & 4 deletions charts/component/templates/cronjob.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -139,14 +139,12 @@ spec:
{{- tpl (toYaml .volumeMounts) $ | nindent 12 }}
{{- end }}
restartPolicy: {{ .Values.cronjob.restartPolicy }}
{{- if .Values.cronjob.podSecurityContext.enabled }}
{{- if and .Values.cronjob.podSecurityContext .Values.cronjob.podSecurityContext.enabled }}
securityContext:
fsGroup: {{ .Values.cronjob.podSecurityContext.fsGroup }}
{{- end }}
{{- if .Values.cronjob.volumes.enabled }}
{{- if .Values.cronjob.volumes }}
{{- if and .Values.cronjob.volumes .Values.cronjob.volumes.enabled }}
volumes:
{{- tpl (toYaml .Values.cronjob.volumes) . | nindent 10 }}
{{- end }}
{{- end }}
{{- end}}

0 comments on commit 8208bd1

Please sign in to comment.