From b47aa2252b447c31de1f72ab9f52051b0959071d Mon Sep 17 00:00:00 2001 From: Ween Jiann Date: Wed, 2 Oct 2019 22:01:08 +0800 Subject: [PATCH] [incubator/solr] Added namespace to SOLR_HOST (#17481) * Added namespace name into SOLR_HOST Signed-off-by: Lee Ween Jiann * Fixed image.tag default value in README.md Signed-off-by: Lee Ween Jiann * Updated chart version to 1.2.1 Signed-off-by: Lee Ween Jiann --- incubator/solr/Chart.yaml | 2 +- incubator/solr/README.md | 2 +- incubator/solr/templates/statefulset.yaml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/incubator/solr/Chart.yaml b/incubator/solr/Chart.yaml index 32995e4317..1dfeff13a7 100644 --- a/incubator/solr/Chart.yaml +++ b/incubator/solr/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: "v1" name: "solr" -version: "1.2.0" +version: "1.2.1" appVersion: "7.7.2" description: "A helm chart to install Apache Solr: http://lucene.apache.org/solr/" keywords: diff --git a/incubator/solr/README.md b/incubator/solr/README.md index 052cdc48e0..5a1174940a 100644 --- a/incubator/solr/README.md +++ b/incubator/solr/README.md @@ -32,7 +32,7 @@ The following table shows the configuration options for the Solr helm chart: | `extraEnvVars` | Additional environment variables to set on the solr pods (in yaml syntax) | `[]` | | `terminationGracePeriodSeconds` | The termination grace period of the Solr pods | `180`| | `image.repository` | The repository to pull the docker image from| `solr` | -| `image.tag` | The tag on the repository to pull | `7.6.0` | +| `image.tag` | The tag on the repository to pull | `7.7.2` | | `image.pullPolicy` | Solr pod pullPolicy | `IfNotPresent` | | `livenessProbe.initialDelaySeconds` | Inital Delay for Solr pod liveness probe | `20` | | `livenessProbe.periodSeconds` | Poll rate for liveness probe | `10` | diff --git a/incubator/solr/templates/statefulset.yaml b/incubator/solr/templates/statefulset.yaml index 8e6ed4d5dd..99c56452bb 100644 --- a/incubator/solr/templates/statefulset.yaml +++ b/incubator/solr/templates/statefulset.yaml @@ -148,7 +148,7 @@ spec: fieldRef: fieldPath: metadata.name - name: "SOLR_HOST" - value: "$(POD_HOSTNAME).{{ include "solr.headless-service-name" . }}" + value: "$(POD_HOSTNAME).{{ include "solr.headless-service-name" . }}.{{ .Release.Namespace }}" - name: "ZK_HOST" value: "{{ include "solr.zookeeper-name" . }}:2181" - name: "SOLR_LOG_LEVEL"