Update example for new config file loading.

This commit is contained in:
Brendan Burns
2017-11-02 07:01:55 -07:00
parent c74d625335
commit 03dc518f26

View File

@@ -8,7 +8,7 @@ namespace simple
{
static void Main(string[] args)
{
var k8sClientConfig = new KubernetesClientConfiguration();
var k8sClientConfig = KubernetesClientConfiguration.BuildConfigFromConfigFile();
IKubernetes client = new Kubernetes(k8sClientConfig);
Console.WriteLine("Starting Request!");
var listTask = client.ListNamespacedPodWithHttpMessagesAsync("default").Result;