feat: upgrade urfavre cli to v3 - #6483
Conversation
cc7e9f0 to
5a332d6
Compare
f221579 to
53eecd2
Compare
| Name: "auth-google-client-id", | ||
| Sources: cli.NewValueSourceChain( | ||
| cli.EnvVar("SCRUMLR_AUTH_GOOGLE_CLIENT_ID"), | ||
| toml.TOML("auth-callback-host", altsrc.NewStringPtrSourcer(&tomlconfigFile)), |
There was a problem hiding this comment.
looks like a copy and paste error, why auth-callback-host here? I think it should be auth-google-client-id
| &cli.BoolFlag{ | ||
| Name: "disable-check-origin", | ||
| Sources: cli.NewValueSourceChain( | ||
| toml.TOML("disable-check-origin", altsrc.NewStringPtrSourcer(&tomlconfigFile)), |
There was a problem hiding this comment.
why no environment variable support for disable-check-origin here?
There was a problem hiding this comment.
Because the user should set it explicit, because it has some security implications
| EnvVars: []string{"SCRUMLR_ENABLE_EXPERIMENTAL_AUTH_FILE_SYSTEM_STORE"}, | ||
| }, | ||
| &cli.BoolFlag{ | ||
| Name: "auth-enable-experimental-file-system-store", |
There was a problem hiding this comment.
this name here seems to be wrong. in the toml file, it is auth-experimental-file-system-store
There was a problem hiding this comment.
I have changed the name in the toml file since the env var is also called SCRUMLR_ENABLE_EXPERIMENTAL_AUTH_FILE_SYSTEM_STORE
| Name: "auth-enable-experimental-file-system-store", | ||
| Sources: cli.NewValueSourceChain( | ||
| cli.EnvVar("SCRUMLR_ENABLE_EXPERIMENTAL_AUTH_FILE_SYSTEM_STORE"), | ||
| toml.TOML("auth-enable-experimental-file-system-store", altsrc.NewStringPtrSourcer(&tomlconfigFile)), |
There was a problem hiding this comment.
also here, i think the enable in between needs to be removed or the name in the toml needs to be changed
| otel-http = "" | ||
|
|
||
| # Enable or disable verbose logging. | ||
| verbose = true |
There was a problem hiding this comment.
where is this flag used?
53eecd2 to
147c95b
Compare
147c95b to
38eb5bb
Compare
|
The deployment to the dev cluster was successful. You can find the deployment here: https://6483.development.scrumlr.fra.ics.inovex.io Deployed Images
|
Description
Upgrade the urfavre cli package to v3.
Changelog
Checklist
(Optional) Visual Changes