Commit Graph

42 Commits

Author SHA1 Message Date
Willy Kloucek
444ffa5e75 add more configuration descriptions 2022-06-14 14:58:27 +02:00
Willy Kloucek
33299ceb3e Merge pull request #3960 from wkloucek/add-more-config-doc
add more config option documentation
2022-06-14 14:07:03 +02:00
Willy Kloucek
7b87df02e1 Apply suggestions from code review
Co-authored-by: Martin <github@diemattels.at>
2022-06-14 13:17:24 +02:00
Willy Kloucek
7bc96443f6 unify log and tracing descriptions 2022-06-14 11:48:46 +02:00
Willy Kloucek
61e89ea48f fix tracing collecotr and endpoint descriptions 2022-06-14 10:57:36 +02:00
Willy Kloucek
751b90f332 add more config option documentation 2022-06-13 15:45:24 +02:00
David Christofas
21f6285b02 don't setup demo role assignments on default 2022-06-13 11:56:23 +02:00
Willy Kloucek
68a6f43538 fix version info 2022-06-13 10:43:52 +02:00
Ralf Haferkamp
15fabb155f Remove bootstrapping workaround for ListRoleAssignments
Previously ListRoleAssignments needed to be able to return the default
assignments when the metadata client was not initialized. This was added
in order to be able to bootstrap the metadata client (which caused a
call to ListRoleAssignments by itself). With the recent switch to a
separate user-provider and permissions service for the metadata storage
this no longer needed.
2022-06-09 14:36:29 +02:00
Willy Kloucek
7d87927459 add descriptions to the debug config 2022-05-18 09:57:41 +02:00
Willy Kloucek
3ce2c2123d remove composition of Commons 2022-05-16 11:34:05 +02:00
Willy Kloucek
97220e63e6 check if cfg.Commons is nil 2022-05-16 09:32:12 +02:00
Willy Kloucek
382d91b22b fix settings and idm admin user id configuration 2022-05-16 08:30:16 +02:00
Michael Barz
f6e2f46ebb Exit when encountering config parsing errors 2022-05-09 11:49:15 +02:00
Michael Barz
4b71cd40af Merge pull request #3678 from owncloud/v2
Update ocis packages and imports to V2
2022-05-04 16:36:01 +02:00
kobergj
25dc46ecd0 ServiceUser -> SystemUser (#3673)
* serviceUser -> systemUser

Signed-off-by: jkoberg <jkoberg@owncloud.com>

* changelog

Signed-off-by: jkoberg <jkoberg@owncloud.com>

* leave out OCIS_URL, cleanup

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>

Co-authored-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2022-05-04 16:31:18 +02:00
kobergj
eb59d2291e MachineAuthAPIKey -> SystemUserAPIKey (#3672)
* split machineauthapikey and systemuserapikey

Signed-off-by: jkoberg <jkoberg@owncloud.com>

* changelog

Signed-off-by: jkoberg <jkoberg@owncloud.com>

* specific errors and some reverts

Signed-off-by: jkoberg <jkoberg@owncloud.com>

* use correct machine auth api key

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>

Co-authored-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2022-05-04 15:48:02 +02:00
Jörn Friedrich Dreyer
2bd63509e3 align more storage-system names (#3674)
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2022-05-04 15:19:35 +02:00
Michael Barz
189987bcbd Bump major version to v2 2022-05-04 14:49:59 +02:00
Ralf Haferkamp
7ef205d232 Get rid of hardcoded admin user uuid
The UUID is generated by `ocs init` now and stored in the config file.
To avoid that every ocis install uses the same UUID

Closes: #3524
2022-05-04 12:42:28 +02:00
Ralf Haferkamp
c312ecf926 Remove a couple of unneeded users from Default Role Assignments
The reva and idp users are service users and don't need any roles
assigned. They currently used for performing LDAP searches.
2022-05-04 12:42:28 +02:00
kobergj
5346299e6d MetadataUserID -> SystemUserID (#3671)
* replace MetadataUserID with SystemUserID

Signed-off-by: jkoberg <jkoberg@owncloud.com>

* the missing change

Signed-off-by: jkoberg <jkoberg@owncloud.com>

* changelog

Signed-off-by: jkoberg <jkoberg@owncloud.com>
2022-05-04 11:41:37 +02:00
Willy Kloucek
b65936fe99 strip ocis- from command name for all standalone services 2022-05-03 17:08:23 +02:00
Jörn Friedrich Dreyer
f88c000bac generate metadata user id
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2022-05-02 12:36:30 +00:00
Jörn Friedrich Dreyer
161c23976f remove unused system user initialization
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2022-05-02 11:30:36 +00:00
Jörn Friedrich Dreyer
fd292563d8 do not overwrite metadata IDP with oCIS IDP
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2022-05-02 10:30:51 +00:00
Jörn Friedrich Dreyer
d1d6cf3b00 Merge branch 'master' into metadata-gateway
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2022-05-02 09:15:42 +00:00
Jörn Friedrich Dreyer
4c53707920 omit extension name in ParseConfig doc
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2022-04-29 20:21:18 +00:00
Jörn Friedrich Dreyer
416c966dbc introduce metadata gateway
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2022-04-29 18:50:21 +02:00
Willy Kloucek
4ff313b0a5 check for more secrets need to be set 2022-04-29 13:07:25 +02:00
Willy Kloucek
703a333ff0 fix settings machine auth api key 2022-04-29 08:07:52 +02:00
Willy Kloucek
83b94cf82d log parsing errors to stdout 2022-04-28 15:52:26 +02:00
Willy Kloucek
ab254b05d0 remove all "omitempty" from config structs to bring back full configuration file documentation 2022-04-28 15:08:40 +02:00
Willy Kloucek
3054875a05 move config validation into a separate function 2022-04-28 11:10:39 +02:00
Willy Kloucek
f74d1e27c1 use machine auth secret from common config 2022-04-27 14:40:53 +02:00
Willy Kloucek
9095b11d6c load reva gateway and token manager from common config 2022-04-27 13:58:59 +02:00
Willy Kloucek
48a6978e24 move TokenManager back to extension config 2022-04-27 11:04:18 +02:00
Christian Richter
a4d7696232 Move machine-auth-api-key to shared.Commons
Signed-off-by: Christian Richter <crichter@owncloud.com>
2022-04-26 10:20:15 +02:00
Christian Richter
acf75afebc Move Tokenmanager to shared.Commons
Signed-off-by: Christian Richter <crichter@owncloud.com>
2022-04-25 16:35:10 +02:00
Christian Richter
f7a84491ef add missing extensions
Signed-off-by: Christian Richter <crichter@owncloud.com>
2022-04-20 12:20:37 +02:00
Christian Richter
8d81e39bd6 refactor yaml labels, add overwrite protection
Signed-off-by: Christian Richter <crichter@owncloud.com>
2022-04-19 15:14:01 +02:00
Christian Richter
1a1a4d6a3c refactor settings 2022-04-13 17:04:37 +02:00