Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(k8s.dataverse): Ensures that the licence are created during setup and custom terms are not allowed. #11

Merged
merged 1 commit into from
Feb 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.3.3
version: 0.3.4

# 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
3 changes: 3 additions & 0 deletions k8s/dataverse/persona/nfdi4health/init.sh
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,9 @@ while IFS= read -r TSV; do
echo
done <<< "${TSVS}"

echo "Disable custom terms of use"
curl -s -H "X-Dataverse-key:$API_TOKEN" -X PUT -d false $DATAVERSE_URL/aapi/admin/settings/:AllowCustomTermsOfUse

echo "Creating users"
USERS=$(find $USERS_PATH -maxdepth 1 -iname '*.json')
while IFS= read -r USER; do
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@
"shortDescription": "All rights reserved.",
"iconUrl": "",
"active": true,
"sortOrder": 8
"sortOrder": 7
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@
"shortDescription": "Creative Commons Attribution-NonCommercial 4.0 International License.",
"iconUrl": "https://licensebuttons.net/l/by-nc/4.0/88x31.png",
"active": true,
"sortOrder": 4
"sortOrder": 5
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@
"shortDescription": "Creative Commons CC0 1.0 Universal Public Domain Dedication.",
"iconUrl": "https://licensebuttons.net/p/zero/1.0/88x31.png",
"active": true,
"sortOrder": 8
"sortOrder": 1
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@
"shortDescription": "Not applicable.",
"iconUrl": "",
"active": true,
"sortOrder": 8
"sortOrder": 6
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"name": "Not assigned",
"uri": "Not-assigned",
"shortDescription": "Not assigned.",
"iconUrl": "",
"active": true,
"sortOrder": 8
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@
"shortDescription": "Unknown.",
"iconUrl": "",
"active": true,
"sortOrder": 8
"sortOrder": 9
}