You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sdap.apache.org by rk...@apache.org on 2024/03/27 17:37:31 UTC

(incubator-sdap-nexus) 01/01: SDAP-513 - Configurable Solr init pod image in helm

This is an automated email from the ASF dual-hosted git repository.

rkk pushed a commit to branch SDAP-513
in repository https://gitbox.apache.org/repos/asf/incubator-sdap-nexus.git

commit 0a47e0f8d426f3bfaaab677948bfbe1d9bc51d9c
Author: rileykk <ri...@jpl.nasa.gov>
AuthorDate: Wed Mar 27 10:37:19 2024 -0700

    SDAP-513 - Configurable Solr init pod image in helm
---
 CHANGELOG.md                              | 1 +
 helm/templates/solr-create-collection.yml | 2 +-
 helm/values.yaml                          | 1 +
 3 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/CHANGELOG.md b/CHANGELOG.md
index 5ad70cd..1de6de2 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -13,6 +13,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
 - SDAP-472:
   - Support for Zarr backend (gridded data only)
   - Dataset management endpoints for Zarr datasets
+- SDAP-513: Added helm chart value `solr.initImage` to specify Solr init pod image. If omitted, defaults to `apache/sdap-solr-cloud-init:1.1.0`
 ### Changed
 - SDAP-493: 
   - Updated /job endpoint to use `executionId` terminology for consistency with existing `/cdmsresults` endpoint
diff --git a/helm/templates/solr-create-collection.yml b/helm/templates/solr-create-collection.yml
index 717cb42..b55f7b4 100644
--- a/helm/templates/solr-create-collection.yml
+++ b/helm/templates/solr-create-collection.yml
@@ -16,7 +16,7 @@ spec:
       containers:
       - name: solr-create-collection
         imagePullPolicy: Always
-        image: nexusjpl/solr-cloud-init:1.0.2
+        image: {{ .Values.solr.initImage | default "apache/sdap-solr-cloud-init:1.1.0" }}
         resources:
           requests:
             memory: "0.5Gi"
diff --git a/helm/values.yaml b/helm/values.yaml
index fe2481e..3576547 100644
--- a/helm/values.yaml
+++ b/helm/values.yaml
@@ -126,6 +126,7 @@ external:
 solr:
   enabled: true
   initPodEnabled: true
+  initImage: apache/sdap-solr-cloud-init:1.2.0
   image:
     repository: nexusjpl/solr
     tag: 8.11.1