You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by GitBox <gi...@apache.org> on 2022/08/18 06:35:27 UTC

[GitHub] [solr-operator] tux-o-matic opened a new issue, #466: SOLR StatefulSet gets a broken securityContext by default

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: issues-unsubscribe@solr.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org


[GitHub] [solr-operator] HoustonPutman commented on issue #466: SOLR StatefulSet gets a broken securityContext by default

Posted by GitBox <gi...@apache.org>.
HoustonPutman commented on issue #466:
URL: https://github.com/apache/solr-operator/issues/466#issuecomment-1239524115

   Sorry for the late reply. You can see this issue https://github.com/apache/solr-operator/issues/264 on how someone was able to get the Solr Operator to work with OpenShift. However, we should probably have documentation for common work-arounds for various cloud platforms.


-- 
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-unsubscribe@solr.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org