diff --git a/helm/solr-operator/templates/deployment.yaml b/helm/solr-operator/templates/deployment.yaml index 946c81c6..4f88e402 100644 --- a/helm/solr-operator/templates/deployment.yaml +++ b/helm/solr-operator/templates/deployment.yaml @@ -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 }} diff --git a/helm/solr-operator/values.yaml b/helm/solr-operator/values.yaml index 28a72753..1d61c303 100644 --- a/helm/solr-operator/values.yaml +++ b/helm/solr-operator/values.yaml @@ -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