Hi, Im running locally basic stack: Zeebe + Operate + Elastic through KD deployment. I want to run operate with basic auth on my local cluster. I have configured values.yaml to deploy operate with the variables:
"OPERATE_AUTH_MODE=basic",
"OPERATE_AUTH_BASIC_USERNAME=admin", "OPERATE_AUTH_BASIC_PASSWORD=$2a$12$M/WyfX2pwZ7rOCNwHMv8l.01Bj.HU/AWE5z6xqFONmvbkPALQr9HK",
"SPRING_PROFILES_ACTIVE=basic-auth",
Password is bcrypted with 12 rounds.
However the user is not auto created in elastic. I have created the user manually in elastic with a request, and I can search for the user from within the operate pod, but the application itself seem to be unable to find it. Any ideas what might be the issue?
wget -qO- http://camunda-elasticsearch:9200/operate-user/_search \
–header=“Content-Type: application/json”
–post-data=‘{
“query”: {
“match”: {
“userId”: “admin”
}
}
}’
{“took”:15,“timed_out”:false,“_shards”:{“total”:1,“successful”:1,“skipped”:0,“failed”:0},“hits”:{“total”:{“value”:1,“relation”:“eq”},“max_score”:0.2876821,“hits”:[{“_index”:“operate-user”,“_id”:“MG6EkpMBkNHnRrqY2w8w”,“_score”:0.2876821,“_source”:{
“userId”: “admin”,
“password”: “$2a$12$M/WyfX2pwZ7rOCNwHMv8l.01Bj.HU/AWE5z6xqFONmvbkPALQr9HK”,
“roles”: [“camunda-admin”]
}}]}}~