v3.3.0 - fixed kiabana connection
This commit is contained in:
parent
f1005e54d8
commit
6e35193643
@ -29,14 +29,15 @@ spec:
|
|||||||
echo "user '${KIBANA_USERNAME}' already exists."
|
echo "user '${KIBANA_USERNAME}' already exists."
|
||||||
else
|
else
|
||||||
echo "creating user '${KIBANA_USERNAME}'..."
|
echo "creating user '${KIBANA_USERNAME}'..."
|
||||||
curl -u ${ELASTIC_USERNAME}:${ELASTIC_PASSWORD} -X POST http://service-elasticsearch:9200/_security/user/${KIBANA_USERNAME} \
|
# curl -u ${ELASTIC_USERNAME}:${ELASTIC_PASSWORD} -X POST http://service-elasticsearch:9200/_security/user/${KIBANA_USERNAME} \
|
||||||
-H "Content-Type: application/json" \
|
# -H "Content-Type: application/json" \
|
||||||
-d "{
|
# -d "{
|
||||||
\"password\": \"${KIBANA_PASSWORD}\",
|
# \"password\": \"${KIBANA_PASSWORD}\",
|
||||||
\"roles\": [\"kibana_system\"],
|
# \"roles\": [\"kibana_system\"],
|
||||||
\"full_name\": \"Kibana System User\",
|
# \"full_name\": \"Kibana System User\",
|
||||||
\"enabled\": true
|
# \"enabled\": true
|
||||||
}"
|
# }"
|
||||||
|
curl -s -X POST -u "elastic:{{ required ".Values.elasticsearch.password entry is required!" .Values.elasticsearch.password }}" -H "Content-Type: application/json" https://localhost:9200/_security/user/kibana_system/_password -d "{\"password\" : \"{{ required ".Values.kibana.password entry is required!" .Values.kibana.password }}\"}"
|
||||||
echo "user '${KIBANA_USERNAME}' created."
|
echo "user '${KIBANA_USERNAME}' created."
|
||||||
fi
|
fi
|
||||||
envFrom:
|
envFrom:
|
||||||
|
|||||||
@ -28,7 +28,8 @@ elastic:
|
|||||||
# kibana
|
# kibana
|
||||||
kibana:
|
kibana:
|
||||||
imageTag: 9.0.2
|
imageTag: 9.0.2
|
||||||
username: kibana_system_user
|
#username: kibana_system_user
|
||||||
|
username: kibana_system
|
||||||
priorityClassName: system-node-critical
|
priorityClassName: system-node-critical
|
||||||
# host: http://service-elasticsearch:9200
|
# host: http://service-elasticsearch:9200
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user