Skip to content

Commit

Permalink
Merge pull request #1361 from flanksource/pr/default-http-tls
Browse files Browse the repository at this point in the history
chore: enable http insecure tls by default
  • Loading branch information
moshloop authored Oct 18, 2023
2 parents 6455210 + fa1d75c commit 6faffed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion checks/http.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ func (c *HTTPChecker) Run(ctx *context.Context) pkg.Results {
}

func (c *HTTPChecker) generateHTTPRequest(ctx *context.Context, check v1.HTTPCheck, connection *models.Connection) (*http.Request, error) {
client := http.NewClient().UserAgent("canary-checker/" + runner.Version)
client := http.NewClient().UserAgent("canary-checker/" + runner.Version).InsecureSkipVerify(true)

for _, header := range check.Headers {
value, err := ctx.GetEnvValueFromCache(header)
Expand Down

0 comments on commit 6faffed

Please sign in to comment.