-
Notifications
You must be signed in to change notification settings - Fork 17
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
Environment variable configuration #12
base: master
Are you sure you want to change the base?
Environment variable configuration #12
Conversation
41a13fa
to
027a87c
Compare
…ast touched. Signed-off-by: Jim Weber <[email protected]>
Reviving a Zombie. I have pushed updates to this PR to bring it inline with the current state of the project. |
main.go
Outdated
@@ -70,28 +70,47 @@ type oidcConfig struct { | |||
password string | |||
} | |||
|
|||
func LookupEnvOrString(key string, defaultVal string) string { |
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.
Can we please make all of these lowercase, ie non-exported functions? That's the standard for Go and for the Observatorium project if they are only used internally
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.
Changes have been made and pushed.
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.
I have just one request otherwise this I'm happy to merge this PR
Signed-off-by: Jim Weber <[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.
I'm happy with the state of this for now. Tha KS for taking this over the finish line @jpweber
Very welcome. Thanks for reviewing. |
overview
we wanted to be able to use environment variables to drive some of the configuration instead of just args. let me know if this works for you, or if we need to add more to this PR to get it merged.
thanks!