sgauchan88 opened a new issue, #681:
URL: https://github.com/apache/solr-operator/issues/681
I have created 2 secrets for below configuration:
security:
authenticationType: Basic
basicAuthSecret: user-provided-secret
bootstrapSecurityJson:
name: solr-basic-auth
key: security.json
Security.json file which i used:
security.json:
{
"authentication": {
"blockUnknown": true,
"class": "solr.BasicAuthPlugin",
"credentials": {
"sandip": "XohImNooBHFR0OVvjcYpJ3NgPQ1qq73WKhHvch0VQtg="
}
},
"authorization": {
"class": "solr.RuleBasedAuthorizationPlugin",
"permissions": [
{
"name": "security-edit",
"role": "admin"
},
{
"name": "all",
"role": "admin"
}
],
"user-role": {
"sandip": "admin"
}
}
}
kubectl create secret generic user-provided-secret
--from-literal=username=sandip --from-literal=password=password
--type=kubernetes.io/basic-auth
kubectl create secret generic solr-basic-auth
--from-file=security.json=security.json
My solr-cloud pods are getting restarted when i add the above security
configuration in the helm chart. Testing it with 0.6.0 chart version.
--
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]