Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Allow imagePullSecret in operator helm chart
Operator users may host the image in their own repositories, protected
by authentication.  Accept an imagePullSecret to facilitate these use
cases.
  • Loading branch information
gerlowskija committed Dec 12, 2024
commit e3a639dfd30da7fd6b9f24fb5cd888126948d131
1 change: 1 addition & 0 deletions helm/solr-operator/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,7 @@ The command removes all the Kubernetes components associated with the chart and
| image.repository | string | `"apache/solr-operator"` | The repository of the Solr Operator image |
| image.tag | string | `"v0.9.0-prerelease"` | The tag/version of the Solr Operator to run |
| image.pullPolicy | string | `"IfNotPresent"` | |
| image.imagePullSecret | string | `""` | PullSecret for the Solr Operator image |
| fullnameOverride | string | `""` | A custom name for the Solr Operator Deployment |
| nameOverride | string | `""` | |
| replicaCount | int | `1` | The number of Solr Operator pods to run |
Expand Down
3 changes: 3 additions & 0 deletions helm/solr-operator/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,9 @@ spec:
- 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
Expand Down
1 change: 1 addition & 0 deletions helm/solr-operator/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ image:
repository: apache/solr-operator
tag: v0.9.0-prerelease
pullPolicy: IfNotPresent
imagePullSecret: ""

nameOverride: ""
fullnameOverride: ""
Expand Down
Loading