Thor
Thor

Reputation: 345

Equivalent Docker.DotNet AuthConfig class in KubernetesClient for Dotnet application

I have a Dokerswarm application(.Net) which is using Authconfig class for storing information [username, passord, serveraddress, tokens etc] for authenticating with the registries. The same application I am trying to write in Kubernetes using KubernetesClient.

Can someone please let me know if there is any equivalent of Authconfig class in Kubernetes K8s.Model client also ?

Upvotes: 0

Views: 123

Answers (1)

VAS
VAS

Reputation: 9041

The similar class for creating connection to the k8s APIServer endpoint would be the following:

More specific classes could be found in the folder:

Usage examples could be found here:

I would also recommend to read the following documentation pages:

Upvotes: 1

Related Questions