tux-o-matic opened a new issue, #466:
URL: https://github.com/apache/solr-operator/issues/466

   Upon deploying a SolrCloud CR for the first time with the Operator (version 
0.6.0), ZK is fine but the SOLR StatefulSet fails to start Pods because of:
   ```
   create Pod demo-solrcloud-0 in StatefulSet demo-solrcloud failed error: pods 
"demo-solrcloud-0" is forbidden: unable to validate against any security 
context constraint: [provider restricted: .spec.securityContext.fsGroup: 
Invalid value: []int64{8983}: 8983 is not an allowed group provider 
restrictedfsgroup: .spec.securityContext.fsGroup: Invalid value: []int64{8983}: 
8983 is not an allowed group]
   ```
   
   If in the SolrCloud CR I specify an empty context, everything start fine:
   ```yaml
   spec:
     customSolrKubeOptions:
       podOptions:
         podSecurityContext: {}
   ```
   
   I don't know if this is expected, a bug or some edge case for OpenShift but 
there was no documentation for it.


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to