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

HoustonPutman pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/solr-operator.git


The following commit(s) were added to refs/heads/main by this push:
     new 93fd187  Correct the solr-operator helm chart's imagePullSecret (#782)
93fd187 is described below

commit 93fd187f6da871016d61f314e1ca284257ef5b69
Author: J Wang <[email protected]>
AuthorDate: Tue Jun 16 19:16:31 2026 -0500

    Correct the solr-operator helm chart's imagePullSecret (#782)
---
 helm/solr-operator/Chart.yaml                | 5 +++++
 helm/solr-operator/templates/deployment.yaml | 7 ++++---
 2 files changed, 9 insertions(+), 3 deletions(-)

diff --git a/helm/solr-operator/Chart.yaml b/helm/solr-operator/Chart.yaml
index ca45651..9bd1f26 100644
--- a/helm/solr-operator/Chart.yaml
+++ b/helm/solr-operator/Chart.yaml
@@ -105,6 +105,11 @@ annotations:
       links:
         - name: Github PR
           url: https://github.com/apache/solr-operator/pull/790
+    - kind: fixed
+      description: Correct the placement and syntax of the imagePullSecret in 
the Solr-Operator Helm chart
+      links:
+        - name: Github PR
+          url: https://github.com/apache/solr-operator/pull/782
   artifacthub.io/images: |
     - name: solr-operator
       image: apache/solr-operator:v0.10.0-prerelease
diff --git a/helm/solr-operator/templates/deployment.yaml 
b/helm/solr-operator/templates/deployment.yaml
index 1c13fae..fe19965 100644
--- a/helm/solr-operator/templates/deployment.yaml
+++ b/helm/solr-operator/templates/deployment.yaml
@@ -42,13 +42,14 @@ spec:
       {{- if .Values.priorityClassName }}
       priorityClassName: {{ .Values.priorityClassName }}
       {{- end }}
+      {{- if .Values.image.imagePullSecret }}
+      imagePullSecrets: 
+      - name: {{ .Values.image.imagePullSecret }}
+      {{- end }}
       containers:
       - name: {{ .Chart.Name }}
         image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
         imagePullPolicy: {{ .Values.image.pullPolicy }}
-        {{- if .Values.image.imagePullSecret }}
-        imagePullSecret: {{ .Values.image.imagePullSecret }}
-        {{- end }}
         args:
         {{- if or (index .Values "zookeeper-operator" "install") (index 
.Values "zookeeper-operator" "use") }}
         - -zk-operator=true

Reply via email to