Zookeeper image should not default to pull Always (#512)
It will now default to `IfNotPresent`
diff --git a/controllers/zk_api/zkcluster.go b/controllers/zk_api/zkcluster.go
index aadd1ca..cf4820c 100644
--- a/controllers/zk_api/zkcluster.go
+++ b/controllers/zk_api/zkcluster.go
@@ -29,7 +29,7 @@
DefaultZkContainerVersion = "0.2.14"
// DefaultZkContainerPolicy is the default container pull policy used
- DefaultZkContainerPolicy = "Always"
+ DefaultZkContainerPolicy = v1.PullIfNotPresent
// DefaultTerminationGracePeriod is the default time given before the
// container is stopped. This gives clients time to disconnect from a
diff --git a/docs/upgrade-notes.md b/docs/upgrade-notes.md
index 633a0ae..68a4a7c 100644
--- a/docs/upgrade-notes.md
+++ b/docs/upgrade-notes.md
@@ -118,6 +118,8 @@
The maximum number of pods allowed down at any given time is aligned with the [Managed Update settings](solr-cloud/solr-cloud-crd.md#update-strategy) provided in the spec.
If this is not provided, the default setting (`25%`) is used.
+- Provided Zookeeper pods use the `IfNotPresent` pullPolicy by default. Users that specify this field manually will not see a change.
+
### v0.6.0
- The default Solr version for the `SolrCloud` and `SolrPrometheusExporter` resources has been upgraded from `8.9` to `8.11`.
This will not affect any existing resources, as default versions are hard-written to the resources immediately.
diff --git a/helm/solr-operator/Chart.yaml b/helm/solr-operator/Chart.yaml
index 3015339..6b45ffc 100644
--- a/helm/solr-operator/Chart.yaml
+++ b/helm/solr-operator/Chart.yaml
@@ -84,6 +84,11 @@
links:
- name: GitHub PR
url: https://github.com/apache/solr-operator/pull/508
+ - kind: changed
+ description: Zookeeper images now use the IfNotPresent pullPolicy by default
+ links:
+ - name: GitHub PR
+ url: https://github.com/apache/solr-operator/pull/512/files
artifacthub.io/images: |
- name: solr-operator
image: apache/solr-operator:v0.7.0-prerelease