public class KubeconfigAuthentication extends java.lang.Object implements Authentication
KubeConfig to configure ApiClient authentication to the Kubernetes API.
Tries to configure the following authentication mechanisms in this order.
ClientCertificateAuthentication (using client certificate files or data)
UsernamePasswordAuthentication
AccessTokenAuthentication
| Constructor and Description |
|---|
KubeconfigAuthentication(KubeConfig config) |
| Modifier and Type | Method and Description |
|---|---|
void |
provide(io.kubernetes.client.ApiClient client) |
public KubeconfigAuthentication(KubeConfig config) throws java.io.IOException
java.io.IOExceptionpublic void provide(io.kubernetes.client.ApiClient client)
provide in interface AuthenticationCopyright © 2019. All rights reserved.