-
Notifications
You must be signed in to change notification settings - Fork 704
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
fix: accept GitHub prop overrides #1994
base: master
Are you sure you want to change the base?
Conversation
@dbyron-sf @ovidiupopa07 @diasjorge Could I get an approval for the build workflow, and a review? |
Hi @boonware, I do not have permission to approve workflows. But I can help with the review 😃 |
@ovidiupopa07 Thank you, much appreciated. |
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.
Are there any tests that you can add to verify this new behavior?
@@ -200,4 +213,8 @@ public static Provider fromString(String name) { | |||
+ Arrays.toString(Provider.values())); | |||
} | |||
} | |||
|
|||
private static boolean isSet(String config) { | |||
return config != null; |
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.
maybe you can reuse a common library like the one from apache or from the SpringFramework (StringUtils)
Issue
spinnaker/spinnaker#6766
Details
Allow GitHub auth properties to be overridden when using the
github
OAuth2 provider. This allows users to use thegithub
provider for configuring GitHub Enterprise, rather than having to use provider typeother
; using provider typeother
disables other features, see the parent issue for details.