Class OkeKubernetesCredentialLoader
java.lang.Object
io.micronaut.oraclecloud.oke.kubernetes.client.OkeKubernetesCredentialLoader
- All Implemented Interfaces:
io.micronaut.core.order.Ordered
,io.micronaut.kubernetes.client.openapi.credential.KubernetesTokenLoader
@Singleton
@Requires(beans={com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider.class,OkeKubernetesClientConfig.class})
@Internal
public class OkeKubernetesCredentialLoader
extends Object
implements io.micronaut.kubernetes.client.openapi.credential.KubernetesTokenLoader
A kubernetes credential loader which creates the credentials using a kubeconfig fetched
from OKE with
OkeKubeConfigLoader
. It uses
AbstractAuthenticationDetailsProvider
or RequestSigner
to create
the OKE Kubernetes client token.- Since:
- 4.4.x
- Author:
- Andriy Dmytruk
-
Field Summary
Fields inherited from interface io.micronaut.core.order.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
-
Method Summary
-
Method Details
-
getToken
- Specified by:
getToken
in interfaceio.micronaut.kubernetes.client.openapi.credential.KubernetesTokenLoader
-
getOrder
public int getOrder()- Specified by:
getOrder
in interfaceio.micronaut.core.order.Ordered
-