schotten opened a new issue, #678:
URL: https://github.com/apache/solr-operator/issues/678

   Dear,
   I'm configure the solr in the kubernets with the helms
   - https://artifacthub.io/packages/helm/apache-solr/solr-operator
   - https://artifacthub.io/packages/helm/apache-solr/solr
   
   I managed to successfully configure the enviroment without authentication.
   I was able to configure authentication with standard security.json with the 
config:
   
![image](https://github.com/apache/solr-operator/assets/57331623/8b2ec682-df29-40b1-be2a-b4ffec436984)
   
   The problem showed, when, i tryed add the custom security config because the 
StatefulSets to solr not more created when execute the helm.
   To security configuration, i was there information:
   helm envs:
   
![image](https://github.com/apache/solr-operator/assets/57331623/69ab4fbd-0b64-4ee6-9c62-bc7cdf8272b4)
   Secret in kubernets
   
![image](https://github.com/apache/solr-operator/assets/57331623/3fea75b8-67b0-4721-8881-922dbeb6f457)
   
   Data of security.json
   `{
         "authentication":{
           "blockUnknown": false,
           "class":"solr.BasicAuthPlugin",
           "credentials": 
{"admin":"mc3VwRwy3tp/H9is7tqwAgxWfrUKCZKY13nrLI0NDE0= 
ntYIIAFZJR9MtewC7B7Wldz/9ZO5ipvMJiPpUbdH8Zs=","k8s-oper":"mRjDtN/bNbPP+OdcyqCg+35ZoiwC3hMMiL54T/UjrJ4=
 
nt5ls0z++zxZ8AEUZ66d2D9EkY6uM5a3amxobr00qKY=","solr":"4wN1+kTNTs9kIvCITmzIOqrpIFHluaYLwYV8jo2JxXc=
 UdtJJIPfX8NGws33FWvQ4CHcvZ+R2QwS9eMvVMx6DhY="},
           "realm":"Solr Basic Auth",
           "forwardCredentials": false
         },
         "authorization": {
           "class": "solr.RuleBasedAuthorizationPlugin",
           "user-role": {
             "admin": ["admin", "k8s"],
             "k8s-oper": ["k8s"],
             "solr": ["users", "k8s"]
           },
           "permissions": [
             { "name": "k8s-probe-0", "role":null, "collection": null, 
"path":"/admin/info/system" },
             { "name": "k8s-status", "role":"k8s", "collection": null, 
"path":"/admin/collections" },
             { "name": "k8s-metrics", "role":"k8s", "collection": null, 
"path":"/admin/metrics" },
             { "name": "k8s-zk", "role":"k8s", "collection": null, 
"path":"/admin/zookeeper/status" },
             { "name": "k8s-ping", "role":"k8s", "collection": "*", 
"path":"/admin/ping" },
             { "name": "read", "role":["admin","users"] },
             { "name": "update", "role":["admin"] },
             { "name": "security-read", "role": ["admin"] },
             { "name": "security-edit", "role": ["admin"] },
             { "name": "all", "role":["admin"] }
           ]
         }
       }`
   
   Result after helm install
   
![image](https://github.com/apache/solr-operator/assets/57331623/e65edc96-004e-45be-b9a4-538c49a4be0e)
   
   
   Can you help me?
   
   
   
   


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

Reply via email to