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 26, 2021
1 parent 0b09641 commit 39300c3
Showing 1 changed file with 147 additions and 0 deletions.
147 changes: 147 additions & 0 deletions revad/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,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 @@ -116,6 +117,7 @@ configFiles:
[http.services.prometheus]
[http.services.ocmd]
[http.services.ocdav]
[http.services.ocs]
users.json: |
[
Expand Down Expand Up @@ -153,3 +155,148 @@ configFiles:
"groups": ["quantum-lovers", "philosophy-haters", "physics-lovers"]
}
]
groups.json: |
[
{
"id": {
"opaque_id": "sailing-lovers",
"idp": "localhost:19000"
},
"group_name": "sailing-lovers",
"mail": "sailing-lovers@example.org",
"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": "violin-haters@example.org",
"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": "radium-lovers@example.org",
"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": "polonium-lovers@example.org",
"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": "quantum-lovers@example.org",
"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": "philosophy-haters@example.org",
"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": "physics-lovers@example.org",
"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 39300c3

Please sign in to comment.