Skip to content

Commit 93fd187

Browse files
authored
Correct the solr-operator helm chart's imagePullSecret (#782)
1 parent 887fa36 commit 93fd187

2 files changed

Lines changed: 9 additions & 3 deletions

File tree

helm/solr-operator/Chart.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,11 @@ annotations:
105105
links:
106106
- name: Github PR
107107
url: https://github.com/apache/solr-operator/pull/790
108+
- kind: fixed
109+
description: Correct the placement and syntax of the imagePullSecret in the Solr-Operator Helm chart
110+
links:
111+
- name: Github PR
112+
url: https://github.com/apache/solr-operator/pull/782
108113
artifacthub.io/images: |
109114
- name: solr-operator
110115
image: apache/solr-operator:v0.10.0-prerelease

helm/solr-operator/templates/deployment.yaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,13 +42,14 @@ spec:
4242
{{- if .Values.priorityClassName }}
4343
priorityClassName: {{ .Values.priorityClassName }}
4444
{{- end }}
45+
{{- if .Values.image.imagePullSecret }}
46+
imagePullSecrets:
47+
- name: {{ .Values.image.imagePullSecret }}
48+
{{- end }}
4549
containers:
4650
- name: {{ .Chart.Name }}
4751
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
4852
imagePullPolicy: {{ .Values.image.pullPolicy }}
49-
{{- if .Values.image.imagePullSecret }}
50-
imagePullSecret: {{ .Values.image.imagePullSecret }}
51-
{{- end }}
5253
args:
5354
{{- if or (index .Values "zookeeper-operator" "install") (index .Values "zookeeper-operator" "use") }}
5455
- -zk-operator=true

0 commit comments

Comments
 (0)