diff --git a/CHANGELOG.md b/CHANGELOG.md index 7d68b78c..f73e4763 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +### Changed + +- Change CronJob ImagePullPolicy from Always to IfNotPresent to reduce image network traffic. + ## [0.11.2] - 2023-12-06 ### Changed diff --git a/helm/silence-operator/templates/cronjob.yaml b/helm/silence-operator/templates/cronjob.yaml index a3265f85..bad44cf3 100644 --- a/helm/silence-operator/templates/cronjob.yaml +++ b/helm/silence-operator/templates/cronjob.yaml @@ -54,7 +54,7 @@ spec: - --kubernetes.incluster=true - --tag=installation={{ .Values.cluster.name }} - --tag=provider={{ .Values.cluster.provider.kind }} - imagePullPolicy: Always + imagePullPolicy: IfNotPresent securityContext: {{- with .Values.containerSecurityContext }} {{- . | toYaml | nindent 14 }}