HoustonPutman commented on code in PR #520: URL: https://github.com/apache/solr-operator/pull/520#discussion_r1084358734
########## controllers/util/solr_util.go: ########## @@ -594,6 +594,21 @@ func generateSolrSetupInitContainers(solrCloud *solr.SolrCloud, solrCloudStatus } setupCommands := []string{"cp /tmp/solr.xml /tmp-config/solr.xml"} + // Figure out the solrUser and solrGroup to use + solrUser := DefaultSolrUser + solrGroup := DefaultSolrGroup + solrPodSecurityContext := solrCloud.Spec.CustomSolrKubeOptions.PodOptions.PodSecurityContext + + if solrPodSecurityContext.RunAsUser != nil { Review Comment: `solrPodSecurityContext` might be nil, which is why the tests are failing. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org For additional commands, e-mail: issues-h...@solr.apache.org