computate commented on PR #706:
URL: https://github.com/apache/solr-operator/pull/706#issuecomment-6990013025

   Thanks for sharing @janhoy , I realized I was testing incorrectly by 
applying `podOptions.omitDefaultIDs=true` to the Operator, but instead it's 
required to delete the Solr CRDs, download and apply the ones in your branch 
instead. 
   
   ```bash
   oc delete -f ~/Downloads/solr.apache.org_solrclouds.yaml
   oc delete -f ~/Downloads/solr.apache.org_solrprometheusexporters.yaml
   
   oc create -f ~/Downloads/solr.apache.org_solrclouds.yaml
   oc create -f ~/Downloads/solr.apache.org_solrprometheusexporters.yaml
   ```
   
   After patching my `SolrCloud` instance with 
`spec.customSolrKubeOptions.podOptions.omitDefaultIDs: true` I have confirmed 
that your fix works for OpenShift! 
   
   ```yaml
   spec:
     customSolrKubeOptions:
       podOptions:
         omitDefaultIDs: true
   ```
   
   This is the container image I used for testing your branch if others wish to 
try it as well: `quay.io/computate/solr-operator:restricted-pss-defaults`
   
   Thanks for resolving that issue for Red Hat OpenShift. 
   


-- 
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