Giter Site home page Giter Site logo

Comments (4)

schotten avatar schotten commented on September 21, 2024 1

@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
image
2 - Created the my security.json in the k8s
image

The user is necessary granted roles. In my case, i used the user "admin".

Again @dan-niles , tanks for your help!!!

from solr-operator.

dan-niles avatar dan-niles commented on September 21, 2024

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

schotten avatar schotten commented on September 21, 2024

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

dan-niles avatar dan-niles commented on September 21, 2024

@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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.