From b7609242abb4c97ad5b64e03d05b95bfc9488490 Mon Sep 17 00:00:00 2001 From: Joe Cai Date: Sun, 16 Jun 2019 15:34:08 +1000 Subject: [PATCH] [incubator/solr] run solr container with uid 8983 (#14612) Signed-off-by: Joe Cai --- incubator/solr/Chart.yaml | 2 +- incubator/solr/templates/statefulset.yaml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/incubator/solr/Chart.yaml b/incubator/solr/Chart.yaml index 56799ad687..3fd8baea98 100644 --- a/incubator/solr/Chart.yaml +++ b/incubator/solr/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: "v1" name: "solr" -version: "1.0.1" +version: "1.0.2" appVersion: "7.6.0" description: "A helm chart to install Apache Solr: http://lucene.apache.org/solr/" keywords: diff --git a/incubator/solr/templates/statefulset.yaml b/incubator/solr/templates/statefulset.yaml index 3de2c3c53c..8ffc317097 100644 --- a/incubator/solr/templates/statefulset.yaml +++ b/incubator/solr/templates/statefulset.yaml @@ -28,6 +28,7 @@ spec: spec: securityContext: fsGroup: 8983 + runAsUser: 8983 affinity: {{ tpl (toYaml .Values.affinity) . | indent 8 }} terminationGracePeriodSeconds: {{ .Values.terminationGracePeriodSeconds }}