-
Notifications
You must be signed in to change notification settings - Fork 186
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
[full-ci] ocis init & remove default secrets #3551
Conversation
Signed-off-by: Christian Richter <[email protected]>
Signed-off-by: Christian Richter <[email protected]>
Signed-off-by: Christian Richter <[email protected]>
Thanks for opening this pull request! The maintainers of this repository would appreciate it if you would create a changelog item based on your changes. |
f82fad3
to
66cbd96
Compare
Signed-off-by: Christian Richter <[email protected]>
a49a5cc
to
f77c001
Compare
Signed-off-by: Christian Richter <[email protected]>
Signed-off-by: Christian Richter <[email protected]>
Signed-off-by: Christian Richter <[email protected]>
Signed-off-by: Christian Richter <[email protected]>
Signed-off-by: Christian Richter <[email protected]>
Signed-off-by: Christian Richter <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Picky me found the one typo in your 2700 added lines. Rest looks awesome 👍
Signed-off-by: Jörn Friedrich Dreyer <[email protected]>
@@ -42,6 +42,6 @@ type Thumbnail struct { | |||
CS3AllowInsecure bool `yaml:"cs3_allow_insecure" env:"OCIS_INSECURE;THUMBNAILS_CS3SOURCE_INSECURE"` | |||
RevaGateway string `yaml:"reva_gateway" env:"REVA_GATEWAY"` //TODO: use REVA config | |||
FontMapFile string `yaml:"font_map_file" env:"THUMBNAILS_TXT_FONTMAP_FILE"` | |||
TransferTokenSecret string `yaml:"transfer_token" env:"THUMBNAILS_TRANSFER_TOKEN"` | |||
TransferSecret string `yaml:"transfer_secret" env:"STORAGE_TRANSFER_TOKEN;THUMBNAILS_TRANSFER_TOKEN"` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why use transfer_secret
when the env var is *_TRANSFER_TOKEN
and the actual response uses transferToken as well?
Signed-off-by: Jörn Friedrich Dreyer <[email protected]>
Signed-off-by: Jörn Friedrich Dreyer <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what a beast. the only thing we should address in subsequent PRs are:
- the transfer token vs secret naming in yaml/env vars: [full-ci] ocis init & remove default secrets #3551 (review)
- we should document how to set the auth middleware CredentialsByUserAgent via yaml
@dragonchaser I found a way to make the linter happy ;-)
Code duplication is expected for this kind of repetitiveness. The config structs eg. need to be duplicated so the services can configure their own environment variables using tags.
I will merge ASAG
ok one unexpected pass in https://drone.owncloud.com/owncloud/ocis/11166/44/9
restarting to see if it is flakyness seems to be constant: |
SonarCloud Quality Gate failed. |
Merging master, which pulls in a test-middleware update, seems to fix it. |
Add
ocis init
subcommand and remove default secretsfixes #212
fixes #3628