Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion charts/ecr-anywhere/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: 1.0.1
version: 1.0.2

# 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
5 changes: 2 additions & 3 deletions charts/ecr-anywhere/templates/cronjob.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,12 @@ spec:
metadata:
labels:
app: {{ .Values.name }}
{{- if .Values.deployment.pod.annotations }}
{{- if .Values.cronjob.pod.annotations }}
annotations:
{{- toYaml .Values.deployment.pod.annotations | nindent 12 }}
{{- toYaml .Values.cronjob.pod.annotations | nindent 12 }}
{{- end }}
spec:
serviceAccountName: {{ .Values.serviceAccountName }}

restartPolicy: {{ .Values.cronjob.restartPolicy }}
{{- if .Values.cronjob.backoffLimit }}
backoffLimit: {{ .Values.cronjob.backoffLimit }}
Expand Down
2 changes: 2 additions & 0 deletions charts/ecr-anywhere/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,5 @@ cronjob:
failedJobsHistoryLimit: 1
restartPolicy: OnFailure
backoffLimit: 1
pod:
annotations: {}