Skip to content

feat: Support config files with viper#4696

Merged
kylecarbs merged 2 commits into
mainfrom
config
Oct 21, 2022
Merged

feat: Support config files with viper#4696
kylecarbs merged 2 commits into
mainfrom
config

Conversation

@kylecarbs
Copy link
Copy Markdown
Member

Fixes up #4558 with some tests. There were actually a few flags that didn't map up, so good we had these!

@kylecarbs kylecarbs self-assigned this Oct 21, 2022
@kylecarbs kylecarbs requested a review from a team as a code owner October 21, 2022 21:54
@kylecarbs kylecarbs requested review from presleyp and removed request for a team October 21, 2022 21:54
@kylecarbs kylecarbs merged commit 7bc5b89 into main Oct 21, 2022
@kylecarbs kylecarbs deleted the config branch October 21, 2022 22:08
@github-actions github-actions Bot locked and limited conversation to collaborators Oct 21, 2022
Comment thread cli/deployment/config.go
DERPServerRelayURL: codersdk.DeploymentConfigField[string]{
Key: "derp.server.relay_url",
Usage: "An HTTP URL that is accessible by other replicas to relay DERP traffic. Required for high availability.",
Flag: "derp-server-relay-url",
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are you ok with this breaking this flag?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yup, URL just makes more sense and this one is new

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants