dan-niles commented on issue #678:
URL: https://github.com/apache/solr-operator/issues/678#issuecomment-1910782146
@schotten Maybe the password of your k8s-oper is not the same as the one in
the secret. Can you try including `basicAuthSecret` in your helm config like
this...
```yaml
security:
authenticationType: Basic
basicAuthSecret: solr-basic-auth
bootstrapSecurityJson:
name: solr-security-roles
key: security.json
```
First you will have to create a new [Basic Authentication
Secret](https://kubernetes.io/docs/concepts/configuration/secret/#basic-authentication-secret)
called `solr-basic-auth` like this...
```yaml
apiVersion: v1
kind: Secret
metadata:
name: solr-basic-auth
type: kubernetes.io/basic-auth
stringData:
username: k8s-oper
password: some-password ### Change this
```
Then replace the password for the `k8s-oper` in your security.json with the
one you set in the above `solr-basic-auth`. You will have to encrypt the
password, when you put it in security.json. You can do it with this [Online
Solr Password Encryption Tool](https://clemente-biondo.github.io/).
After that, update your `solr-security-roles` with the new security.json.
--
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]