You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by "computate (via GitHub)" <gi...@apache.org> on 2025/09/25 12:36:27 UTC
Re: [PR] Adding support for OpenShift securityContext [solr-operator]
computate commented on PR #706:
URL: https://github.com/apache/solr-operator/pull/706#issuecomment-3333730725
Hi @gerlowskija and @HoustonPutman , I have now updated my branch to support the grafana-operator way of autodection of solr-operator running on OpenShift! If you would like to try this out, try my documentation for running OpenShift Local on your own computer with Windows 11 Pro, or Linux:
https://smaq.computate.org/en-us/view/article/install-openshift-local-on-your-computer
Then
```bash
install -d ~/.local/src/computate-gitops/
git clone https://github.com/computate-org/computate-gitops.git \
~/.local/src/computate-gitops/
cd ~/.local/src/computate-gitops/
oc apply -k openshift-local/gitops/base/
```
Then wait for the GitOps operator to become ready. You will be able to log into ArgoCD with your OpenShift Local kubeadmin credentials: https://openshift-gitops-server-openshift-gitops.apps-crc.testing/
```yaml
oc -n openshift-operators wait pod -l control-plane=gitops-operator \
--for=condition=Ready --timeout=5m
oc -n openshift-gitops wait pod \
-l app.kubernetes.io/name=openshift-gitops-application-controller \
--for=condition=Ready --timeout=5m
```
Then deploy the zookeeper operator with GitOps:
```bash
oc apply -k openshift-local/zookeeper-operator/applications/
oc apply -k openshift-local/zookeeper/applications/
```
Then deploy the solr operator with GitOps:
```bash
oc apply -k openshift-local/solr-operator/applications/
oc apply -k openshift-local/solr/applications/
```
You should be able to find a SolrCloud running in the `solr` namespace.
You will also find a log in the solr-operator pod:
```logs
{"level":"info","ts":"2025-09-25T04:13:19Z","logger":"setup","msg":"autodetect","isOpenShift":true}
```
--
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