Skip to content

Commit

Permalink
Zookeeper image should not default to pull Always (apache#512)
Browse files Browse the repository at this point in the history
It will now default to `IfNotPresent`
  • Loading branch information
HoustonPutman authored Dec 23, 2022
1 parent 7e1d300 commit 4be1a1d
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion controllers/zk_api/zkcluster.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ const (
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
Expand Down
2 changes: 2 additions & 0 deletions docs/upgrade-notes.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,8 @@ _Note that the Helm chart version does not contain a `v` prefix, which the downl
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.
Expand Down
5 changes: 5 additions & 0 deletions helm/solr-operator/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,11 @@ annotations:
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
Expand Down

0 comments on commit 4be1a1d

Please sign in to comment.