-
Notifications
You must be signed in to change notification settings - Fork 28
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
Allow storage insecure connection #184
Conversation
# Conflicts: # .travis.yml # api/osb/osb_controller.go # test/osb_test/osb_test.go
# Conflicts: # storage/interfaces.go # storage/postgres/storage.go # storage/postgres/storage_test.go
Pull Request Test Coverage Report for Build 1384
💛 - Coveralls |
storage/interfaces.go
Outdated
@@ -37,6 +37,7 @@ type Settings struct { | |||
URI string | |||
MigrationsURL string `mapstructure:"migrations_url"` | |||
EncryptionKey string `mapstructure:"encryption_key"` | |||
SkipSSL bool `mapstructure:"skip_ssl"` |
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.
how about naming it skip_ssl_validation so that we are consistent with the api skip ssl validation?
storage/interfaces.go
Outdated
@@ -45,6 +46,7 @@ func DefaultSettings() *Settings { | |||
URI: "", | |||
MigrationsURL: fmt.Sprintf("file://%s/postgres/migrations", basepath), | |||
EncryptionKey: "", | |||
SkipSSL: false, |
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 know that this is the default value, but would it make sense to add it to application.yml like we did with the api.skip_ssl_validation so that developers are aware they can change it?
Add option to skip ssl check on storage connection