mirror of
https://github.com/nsnail/Ocelot.git
synced 2025-04-23 00:32:50 +08:00
feat : complete the k8s test
This commit is contained in:
parent
b9ff7802bd
commit
7f73bd3a64
@ -23,7 +23,7 @@ namespace Ocelot.Provider.Kubernetes
|
||||
var kubeClientFactory = provider.GetService<IKubeApiClientFactory>();
|
||||
var k8sRegistryConfiguration = new KubeRegistryConfiguration()
|
||||
{
|
||||
ApiEndPoint = new Uri($"http://{config.Host}:{config.Port}"),
|
||||
ApiEndPoint = new Uri($"https://{config.Host}:{config.Port}"),
|
||||
KeyOfServiceInK8s = name,
|
||||
KubeNamespace = config.Namesapce,
|
||||
AuthStrategy = KubeAuthStrategy.BearerToken,
|
||||
|
@ -5,7 +5,7 @@
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="KubeClient" Version="2.2.2" />
|
||||
<PackageReference Include="KubeClient" Version="2.2.4" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
|
Loading…
x
Reference in New Issue
Block a user