Skip to content

Commit

Permalink
fix(k8s.dataverse): set superuser status in init script
Browse files Browse the repository at this point in the history
  • Loading branch information
vera committed Aug 9, 2024
1 parent aa8dd1b commit a8e8c76
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion k8s/dataverse/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.5.1
version: 0.5.2

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand Down
4 changes: 4 additions & 0 deletions k8s/dataverse/persona/nfdi4health/init.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@ echo "Setting DOI provider to FAKE"
curl -s -H "X-Dataverse-key:$API_TOKEN" -X PUT -d FAKE $DATAVERSE_URL/api/admin/settings/:DoiProvider
echo

echo "Setting superuser status"
curl -X POST "${DATAVERSE_URL}/api/admin/superuser/dataverseAdmin"
echo

echo "Publishing root dataverse"
curl -X POST "${DATAVERSE_URL}/api/dataverses/:root/actions/:publish"
echo
Expand Down

0 comments on commit a8e8c76

Please sign in to comment.