diff --git a/charts/ecr-anywhere/Chart.yaml b/charts/ecr-anywhere/Chart.yaml index 151b947..7737438 100644 --- a/charts/ecr-anywhere/Chart.yaml +++ b/charts/ecr-anywhere/Chart.yaml @@ -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 diff --git a/charts/ecr-anywhere/templates/cronjob.yaml b/charts/ecr-anywhere/templates/cronjob.yaml index 55dab9d..e49e08c 100644 --- a/charts/ecr-anywhere/templates/cronjob.yaml +++ b/charts/ecr-anywhere/templates/cronjob.yaml @@ -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 }} diff --git a/charts/ecr-anywhere/values.yaml b/charts/ecr-anywhere/values.yaml index 893b916..3d0f8e1 100644 --- a/charts/ecr-anywhere/values.yaml +++ b/charts/ecr-anywhere/values.yaml @@ -34,3 +34,5 @@ cronjob: failedJobsHistoryLimit: 1 restartPolicy: OnFailure backoffLimit: 1 + pod: + annotations: {}