Skip to content

Commit

Permalink
Merge pull request #37 from lalithkota/develop
Browse files Browse the repository at this point in the history
Helm chart: Fixed dashboard init script
  • Loading branch information
lalithkota authored Oct 22, 2024
2 parents 9c5ea4a + a8349f0 commit 56640ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion charts/reporting-init/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -301,6 +301,6 @@ startUpCommand: |-
for os_dash in opensearch-dashboards/*.ndjson ; do
envsubst < $os_dash > $TEMP_DASHBOARD_OBJECT_FILE
echo "==> Importing Dashboard - $os_dash."
curl -u $OPENSEARCH_USERNAME:$OPENSEARCH_PASSWORD -XPOST "${OPENSEARCH_DASHBOARDS_URL}/api/saved_objects/_import?overwrite=true" -H "osd-xsrf: true" --form file=@$TEMP_DASHBOARD_OBJECT_FILE
curl -s -XPOST -u $OPENSEARCH_USERNAME:$OPENSEARCH_PASSWORD "${OPENSEARCH_DASHBOARDS_URL}/api/saved_objects/_import?overwrite=true" -H "osd-xsrf: true" --form file=@$TEMP_DASHBOARD_OBJECT_FILE | jq
done
fi

0 comments on commit 56640ce

Please sign in to comment.