Commit Graph

367 Commits

Author SHA1 Message Date
Willy Kloucek 0bb830097c Merge pull request #3642 from wkloucek/fix-config-parsing-unsupervised
fix ocis config parsing for subcommands
2022-05-02 14:35:35 +02:00
Willy Kloucek 18e9661a24 fix ocis config parsing for subcommands 2022-05-02 13:13:29 +02:00
Jörn Friedrich Dreyer e5577a1c97 fix service names in init
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2022-05-02 10:56:41 +00:00
Jörn Friedrich Dreyer 0642a5e0ca Align service naming (#3606)
* use configured names as service names in ocis runtime

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

* add changelog

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

* correct service names for group and storage-shares

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

* use correct service names in .drone.star

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

* align ocis-pkg/config/config.go

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2022-05-02 12:44:21 +02:00
Jörn Friedrich Dreyer 9d8072cda9 try to make lint happy
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2022-04-29 21:11:11 +00:00
Jörn Friedrich Dreyer 6474d46252 nitpicks and typo
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2022-04-29 19:09:03 +00:00
Willy Kloucek 1cdb81bd3e add fixes from review 2022-04-29 16:10:21 +02:00
Willy Kloucek feda972487 add idm admin password variable to init command 2022-04-29 14:28:08 +02:00
Christian Richter c47e43318a allow override of admin password wit ocis init
Signed-off-by: Christian Richter <crichter@owncloud.com>
2022-04-29 14:15:48 +02:00
Christian Richter 59c96413d9 beautify error messages
Signed-off-by: Christian Richter <crichter@owncloud.com>
2022-04-29 13:45:12 +02:00
André Duffeck 08df2e32d9 Merge remote-tracking branch 'upstream/master' into search 2022-04-29 13:00:01 +02:00
Christian Richter 72688b3650 move generic secret errors to shared, fix edgecase in cli flags
Signed-off-by: Christian Richter <crichter@owncloud.com>
2022-04-29 11:15:13 +02:00
Christian Richter 767845d90a fix force overwrite bug
Signed-off-by: Christian Richter <crichter@owncloud.com>
2022-04-29 09:25:46 +02:00
Willy Kloucek 293dbac7b3 remove underscores from variable names and use yaml tags instead 2022-04-29 08:33:11 +02:00
Willy Kloucek e582b609b5 fix startup with ocis init 2022-04-28 17:20:10 +02:00
Christian Richter ed1c459d98 Merge branch 'ocis-init' of github.com:owncloud/ocis into ocis-init 2022-04-28 15:56:16 +02:00
Christian Richter 0330b431bb unclutter ocis init code
Signed-off-by: Christian Richter <crichter@owncloud.com>
2022-04-28 15:55:21 +02:00
Willy Kloucek 83b94cf82d log parsing errors to stdout 2022-04-28 15:52:26 +02:00
Christian Richter 5a6c44afa0 move config generator to own structures, to avoid having to fork the yaml package (omitempty issues)
Signed-off-by: Christian Richter <crichter@owncloud.com>
2022-04-28 15:43:40 +02:00
Christian Richter fb6a8ffc7b add backup of config on force overwrite
Signed-off-by: Christian Richter <crichter@owncloud.com>
2022-04-28 11:12:22 +02:00
Willy Kloucek 5c159ee295 Merge branch 'master' into ocis-init 2022-04-28 10:12:46 +02:00
Willy Kloucek 31656e1a97 remove TODOs 2022-04-28 08:48:32 +02:00
David Christofas 6bd4330103 update reva to include go-chi workaround 2022-04-27 17:12:42 +02:00
Willy Kloucek 4043f181b1 set generate ldap secrets 2022-04-27 17:00:31 +02:00
Willy Kloucek a37126f523 Merge branch 'master' into ocis-init 2022-04-27 15:50:26 +02:00
Willy Kloucek 5b572b3852 initialize insecure options 2022-04-27 15:46:17 +02:00
Willy Kloucek a261fc8c88 cleanup 2022-04-27 15:01:31 +02:00
Willy Kloucek b3f55765d8 use common transfer secrets 2022-04-27 14:13:17 +02:00
Willy Kloucek 9095b11d6c load reva gateway and token manager from common config 2022-04-27 13:58:59 +02:00
Christian Richter d106c87c51 [WIP] adapt storage changes
Signed-off-by: Christian Richter <crichter@owncloud.com>
2022-04-27 10:37:40 +02:00
Ralf Haferkamp 45f0940071 Turn of "insecure" of built-in IDP
Setup idp to verify the LDAP server certificate. As this certificate
might be generated on startup, this also moved the IDP to the "delayed"
set of services. So it starts after "idm".
2022-04-26 18:59:10 +02:00
Ralf Haferkamp 1a38f3623c switch default config to idm
- The accounts and glauth service are turned off by default
- proxy is switch from "accounts" to "cs3" for the account backend
- The LDAP configuration (graph, idp, storage) of all services now
  points to idm instead of glauth
2022-04-26 18:59:10 +02:00
Christian Richter fb5ca006e4 Merge remote-tracking branch 'origin/master' into ocis-init
Signed-off-by: Christian Richter <crichter@owncloud.com>
2022-04-26 16:28:12 +02:00
Christian Richter 58a24e620e Move reva transfer secret to shared.Commons
Signed-off-by: Christian Richter <crichter@owncloud.com>
2022-04-26 14:10:03 +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
David Christofas 40320fbb36 start ocdav delayed
Try to prevent concurrent read/write access on a global map in go-chi
2022-04-25 17:45:02 +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
David Christofas 60bf000308 make gateway config similar to other services 2022-04-25 15:44:15 +02:00
David Christofas 76a6588d88 make frontend config similar to other services 2022-04-25 15:44:10 +02:00
David Christofas 430e7f6115 make ocdav config similar to other services 2022-04-25 15:44:06 +02:00
David Christofas f39e354eea make storage shares config similar to other services 2022-04-25 15:44:01 +02:00
David Christofas f40ec3c934 make storage users config similar to other services 2022-04-25 15:43:56 +02:00
David Christofas 12c14e3135 make storage publiclink config similar to other services 2022-04-25 15:43:52 +02:00
David Christofas 4c6848e6bf make auth machine config similar to other services 2022-04-25 15:43:48 +02:00
David Christofas d303bb6f55 make storage metadata config similar to other services 2022-04-25 15:43:43 +02:00
David Christofas 5013d71dac make sharing config similar to other services 2022-04-25 15:43:39 +02:00
David Christofas 7c879343e8 make auth bearer config similar to other services 2022-04-25 15:43:35 +02:00
David Christofas c70a60d7bc make app provider config similar to other services 2022-04-25 15:43:31 +02:00
David Christofas 9e20992c0b make group provider config similar to other services 2022-04-25 15:43:26 +02:00
David Christofas ed4e9ee866 make user provider config similar to other services 2022-04-25 15:43:23 +02:00