Comments (4)
@dan-niles ! Fantastic!!! Now, the problem is solved!!!
Only for informations (for other people who may have this problem), I:
1 - Create the solr-basic-auth
2 - Created the my security.json in the k8s
The user is necessary granted roles. In my case, i used the user "admin".
Again @dan-niles , tanks for your help!!!
from solr-operator.
@schotten Can you try adding another permission to security.json as follows...
{
"name":"k8s-probe-1",
"role":null,
"collection":null,
"path":"/admin/info/health"
}
I think the operator needs access to the /admin/info/health
endpoint for readiness probes.
from solr-operator.
@dan-niles, i tryed your suggestion. Unfortunitly, the problem not solve. Even adding the rule in the security.json, the problem persist (not create the StatefulSets to Solr)
from solr-operator.
@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...
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 called solr-basic-auth
like this...
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.
After that, update your solr-security-roles
with the new security.json.
from solr-operator.
Related Issues (20)
- Operator never deletes ingress or per-node services
- Improve documentation for additional volumes HOT 1
- Resources limits and requests configuration not set on SolrCloud pod HOT 1
- Add the ability to add Environment variables as a configmap HOT 1
- Missing permission for "/admin/info/system" endpoint in security.json template in the SolrCloud CRD documentation
- Authentication not woking with solr-cloud. Pods are getting restarted. HOT 4
- Shards in a down state after an HPA scale up / scale down event. HOT 2
- User helm chart 0.8.0 with default values thorw the error in ValidationError(SolrCloud.spec): unknown field "scaling" in org.apache.solr.v1beta1.SolrCloud.spec HOT 1
- gen-pkcs12-keystore init container fails if the tls secret contains no ca.crt HOT 1
- Support running the solr operator on ARM nodes HOT 4
- Solr Backup recurrence/schedule not enabled by helm 0.7.1 HOT 1
- Actual running pod counts are different from the HPA-allocated HOT 1
- Add useful Operator metrics
- Support replicaPlacementFactory in solr.xml HOT 2
- Liveness probe failing for Prometheus Exporter connected to a large SolrCloud
- Disabling PodDisruptionBudgets for both zk pods and solr pods HOT 3
- adding automountServiceAccountToken HOT 1
- Replica allocation after Node is DisabledScheduling HOT 1
- zkHost and zkServer generated incorrectly - helm templates HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from solr-operator.