Skip to content

Commit

Permalink
when --insecure used, add to tenant config
Browse files Browse the repository at this point in the history
  • Loading branch information
theganyo committed Jun 9, 2020
1 parent 12d5248 commit 3efb272
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions cmd/provision/provision.go
Original file line number Diff line number Diff line change
Expand Up @@ -637,12 +637,13 @@ func (p *provision) printConfig(cred *credential, printf shared.FormatFn, verify

config := server.Config{
Tenant: server.TenantConfig{
InternalAPI: p.InternalProxyURL,
RemoteServiceAPI: p.RemoteServiceProxyURL,
OrgName: p.Org,
EnvName: p.Env,
Key: cred.Key,
Secret: cred.Secret,
InternalAPI: p.InternalProxyURL,
RemoteServiceAPI: p.RemoteServiceProxyURL,
OrgName: p.Org,
EnvName: p.Env,
Key: cred.Key,
Secret: cred.Secret,
AllowUnverifiedSSLCert: p.InsecureSkipVerify,
},
}

Expand Down

0 comments on commit 3efb272

Please sign in to comment.