Skip to content

Commit

Permalink
Use global.imagePullSecrets at solr-operator helm chart apache#338
Browse files Browse the repository at this point in the history
  • Loading branch information
j-coll committed Oct 13, 2021
1 parent 40d3aee commit 90fede6
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions helm/solr-operator/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,10 @@ spec:
{{ toYaml .Values.labels | nindent 8 }}
{{- end }}
spec:
{{- if .Values.global.imagePullSecrets }}
imagePullSecrets:
{{- toYaml .Values.global.imagePullSecrets | nindent 8 }}
{{- end }}
serviceAccountName: {{ include "solr-operator.serviceAccountName" . }}
{{- if .Values.priorityClassName }}
priorityClassName: {{ .Values.priorityClassName }}
Expand Down
4 changes: 4 additions & 0 deletions helm/solr-operator/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@

replicaCount: 1

global:
# Lists the secrets you need to use to pull solr-operator and zookeeper-operator images from a private registry.
imagePullSecrets: []

image:
repository: apache/solr-operator
tag: v0.4.1-prerelease
Expand Down

0 comments on commit 90fede6

Please sign in to comment.