Changeset 0.23.0 (#153)
This commit is contained in:
@@ -313,10 +313,16 @@ func (r *Resolver) resolveBinding(ctx context.Context, binding *RoleBinding) (pr
|
||||
}
|
||||
}
|
||||
|
||||
proxyURL := ""
|
||||
if cfg.ProxyURL != nil {
|
||||
proxyURL = *cfg.ProxyURL
|
||||
}
|
||||
return prov, providers.ProviderConfig{
|
||||
Endpoint: cfg.Endpoint,
|
||||
APIKey: apiKey,
|
||||
CustomHeaders: headers,
|
||||
ProxyMode: cfg.ProxyMode,
|
||||
ProxyURL: proxyURL,
|
||||
}, cfg.Scope, nil
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user