public PodsController(IAuthenticationProvider authProvider) { _auth = authProvider; var k8s = new KubeRequestBuilder(_auth); _podsRequest = k8s.Create <PodsRequest>(); }
public PodsController(IAuthenticationProvider authProvider, IOptions <KubeOptions> options) { _auth = authProvider; var k8s = new KubeRequestBuilder(_auth, options.Value); _podsRequest = k8s.Create <PodsRequest>(); }