Skip to content

Commit f3978b0

Browse files
authored
Merge pull request #3 from CentML/ft/add-annotation-cronjob
fix: add annotations to cronjob as well
2 parents 90593ef + c2c6472 commit f3978b0

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

charts/ecr-anywhere/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ type: application
1515
# This is the chart version. This version number should be incremented each time you make changes
1616
# to the chart and its templates, including the app version.
1717
# Versions are expected to follow Semantic Versioning (https://semver.org/)
18-
version: 1.0.0
18+
version: 1.0.1
1919

2020
# This is the version number of the application being deployed. This version number should be
2121
# incremented each time you make changes to the application. Versions are not expected to

charts/ecr-anywhere/templates/cronjob.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,10 @@ spec:
2121
metadata:
2222
labels:
2323
app: {{ .Values.name }}
24+
{{- if .Values.deployment.pod.annotations }}
2425
annotations:
26+
{{- toYaml .Values.deployment.pod.annotations | nindent 12 }}
27+
{{- end }}
2528
spec:
2629
serviceAccountName: {{ .Values.serviceAccountName }}
2730

0 commit comments

Comments
 (0)