diff --git a/helm/templates/elasticsearch/create-kibana-user-job.yaml b/helm/templates/elasticsearch/create-kibana-user-job.yaml index d8821a0..49da9b5 100644 --- a/helm/templates/elasticsearch/create-kibana-user-job.yaml +++ b/helm/templates/elasticsearch/create-kibana-user-job.yaml @@ -29,7 +29,7 @@ spec: echo "user '${KIBANA_USERNAME}' already exists." else echo "creating user '${KIBANA_USERNAME}'..." - curl -s -X POST -u "elastic:{{ required ".Values.elastic.password entry is required!" .Values.elastic.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 }}\"}" + curl -s -X POST -u "elastic:{{ required ".Values.elastic.password entry is required!" .Values.elastic.password }}" -H "Content-Type: application/json" http://localhost:9200/_security/user/kibana_system/_password -d "{\"password\" : \"{{ required ".Values.kibana.password entry is required!" .Values.kibana.password }}\"}" echo "user '${KIBANA_USERNAME}' created." fi envFrom: