Skip to content

Commit

Permalink
revad: add group support config by default
Browse files Browse the repository at this point in the history
- See: cs3org/reva#1453
- Also add an empty 'ocm-providers.json' to prevent the
  ocmproviderauthorizer service from crashing at startup
  • Loading branch information
SamuAlfageme committed Apr 27, 2021
1 parent c2b9efb commit f619700
Show file tree
Hide file tree
Showing 2 changed files with 151 additions and 3 deletions.
7 changes: 4 additions & 3 deletions revad/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ apiVersion: v2
name: revad
description: The Reva daemon (revad) helm chart
type: application
version: 1.2.2
appVersion: v1.5.1
version: 1.2.3
appVersion: v1.7.0
icon: https://reva.link/logo.svg
home: https://reva.link
sources:
Expand All @@ -15,7 +15,8 @@ keywords:
- sync-and-share
annotations:
artifacthub.io/changes: |
- Add chart metadata for artifacthub.io integration
- Enable group support by default, providing some placeholder groups
- Inject an empty 'ocm-providers.json' to prevent revad from crashing at startup
artifacthub.io/images: |
- name: revad
image: cs3org/revad:latest
147 changes: 147 additions & 0 deletions revad/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ configFiles:
[grpc.services.authprovider]
[grpc.services.authregistry]
[grpc.services.userprovider]
[grpc.services.groupprovider]
[grpc.services.usershareprovider]
[grpc.services.publicshareprovider]
[grpc.services.ocmcore]
Expand All @@ -90,6 +91,7 @@ configFiles:
[http.services.prometheus]
[http.services.ocmd]
[http.services.ocdav]
[http.services.ocs]
users.json: |
[
Expand Down Expand Up @@ -127,3 +129,148 @@ configFiles:
"groups": ["quantum-lovers", "philosophy-haters", "physics-lovers"]
}
]
groups.json: |
[
{
"id": {
"opaque_id": "sailing-lovers",
"idp": "localhost:19000"
},
"group_name": "sailing-lovers",
"mail": "[email protected]",
"display_name": "Sailing Lovers",
"gid_number": 123,
"members": [
{
"id": {
"opaque_id": "4c510ada-c86b-4815-8820-42cdf82c3d51",
"idp": "localhost:19000"
}
}
]
},
{
"id": {
"opaque_id": "violin-haters",
"idp": "localhost:19000"
},
"group_name": "violin-haters",
"mail": "[email protected]",
"display_name": "Violin Haters",
"gid_number": 456,
"members": [
{
"id": {
"opaque_id": "4c510ada-c86b-4815-8820-42cdf82c3d51",
"idp": "localhost:19000"
}
}
]
},
{
"id": {
"opaque_id": "radium-lovers",
"idp": "localhost:19000"
},
"group_name": "radium-lovers",
"mail": "[email protected]",
"display_name": "Radium Lovers",
"gid_number": 789,
"members": [
{
"id": {
"opaque_id": "f7fbf8c8-139b-4376-b307-cf0a8c2d0d9c",
"idp": "localhost:19000"
}
}
]
},
{
"id": {
"opaque_id": "polonium-lovers",
"idp": "localhost:19000"
},
"group_name": "polonium-lovers",
"mail": "[email protected]",
"display_name": "Polonium Lovers",
"gid_number": 987,
"members": [
{
"id": {
"opaque_id": "f7fbf8c8-139b-4376-b307-cf0a8c2d0d9c",
"idp": "localhost:19000"
}
}
]
},
{
"id": {
"opaque_id": "quantum-lovers",
"idp": "localhost:19000"
},
"group_name": "quantum-lovers",
"mail": "[email protected]",
"display_name": "Quantum Lovers",
"gid_number": 654,
"members": [
{
"id": {
"opaque_id": "932b4540-8d16-481e-8ef4-588e4b6b151c",
"idp": "localhost:19000"
}
}
]
},
{
"id": {
"opaque_id": "philosophy-haters",
"idp": "localhost:19000"
},
"group_name": "philosophy-haters",
"mail": "[email protected]",
"display_name": "Philosophy Haters",
"gid_number": 321,
"members": [
{
"id": {
"opaque_id": "932b4540-8d16-481e-8ef4-588e4b6b151c",
"idp": "localhost:19000"
}
}
]
},
{
"id": {
"opaque_id": "physics-lovers",
"idp": "localhost:19000"
},
"group_name": "physics-lovers",
"mail": "[email protected]",
"display_name": "Physics Lovers",
"gid_number": 101,
"members": [
{
"id": {
"opaque_id": "4c510ada-c86b-4815-8820-42cdf82c3d51",
"idp": "localhost:19000"
}
},
{
"id": {
"opaque_id": "f7fbf8c8-139b-4376-b307-cf0a8c2d0d9c",
"idp": "localhost:19000"
}
},
{
"id": {
"opaque_id": "932b4540-8d16-481e-8ef4-588e4b6b151c",
"idp": "localhost:19000"
}
}
]
}
]
ocm-providers.json: |
[]

0 comments on commit f619700

Please sign in to comment.