Skip to content
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

Merged
merged 30 commits into from
Nov 19, 2018
Merged

Allow storage insecure connection #184

merged 30 commits into from
Nov 19, 2018

Conversation

dpanayotov
Copy link
Member

Add option to skip ssl check on storage connection

@coveralls
Copy link

coveralls commented Nov 16, 2018

Pull Request Test Coverage Report for Build 1384

  • 9 of 9 (100.0%) changed or added relevant lines in 2 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.02%) to 91.242%

Totals Coverage Status
Change from base Build 1382: 0.02%
Covered Lines: 2219
Relevant Lines: 2432

💛 - Coveralls

@@ -37,6 +37,7 @@ type Settings struct {
URI string
MigrationsURL string `mapstructure:"migrations_url"`
EncryptionKey string `mapstructure:"encryption_key"`
SkipSSL bool `mapstructure:"skip_ssl"`
Copy link
Member

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?

@@ -45,6 +46,7 @@ func DefaultSettings() *Settings {
URI: "",
MigrationsURL: fmt.Sprintf("file://%s/postgres/migrations", basepath),
EncryptionKey: "",
SkipSSL: false,
Copy link
Member

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?

@dpanayotov dpanayotov merged commit c1fb56c into master Nov 19, 2018
@dpanayotov dpanayotov deleted the ssl_storage branch November 19, 2018 14:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants