public class OpenShiftClientRegistryImpl extends KubernetesClientRegistryImpl
Modifier and Type | Field and Description |
---|---|
static OpenShiftClientRegistryImpl |
INSTANCE |
Constructor and Description |
---|
OpenShiftClientRegistryImpl() |
Modifier and Type | Method and Description |
---|---|
io.fabric8.kubernetes.client.KubernetesClient |
getKubernetesClient(ConfigBag conf)
The default OpenShift URL is set using the Kubernetes
KubernetesLocationConfig#MASTER_URL master URL as follows: |
public static final OpenShiftClientRegistryImpl INSTANCE
public io.fabric8.kubernetes.client.KubernetesClient getKubernetesClient(ConfigBag conf)
KubernetesLocationConfig#MASTER_URL master URL
as follows:
openShiftUrl = URLUtils.join(getMasterUrl(), "oapi", oapiVersion);
getKubernetesClient
in interface KubernetesClientRegistry
getKubernetesClient
in class KubernetesClientRegistryImpl