From 0df3b82da8635cc5d4a1b69a5009ed0647b47064 Mon Sep 17 00:00:00 2001 From: Marius Cornea Date: Fri, 30 Nov 2018 13:25:03 -0500 Subject: [PATCH] Use InternalApi network for openshift_master_cluster_hostname According to the inventory examples[1] openshift_master_cluster_hostname points to an internal hostname/address set on the loadbalancer while openshift_master_cluster_public_hostname points to the external. This change sets openshift_master_cluster_hostname to use the InternalApi network instead of the External network as it is at this moment. [1] https://docs.openshift.com/container-platform/3.11/install/example_inventories.html Change-Id: I9efab5b07682efd6b03da433801d636e7d324619 (cherry picked from commit bd51cf5f4400524edb2ce0949972f0596480ca04) --- extraconfig/services/openshift-master.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extraconfig/services/openshift-master.yaml b/extraconfig/services/openshift-master.yaml index b2e2caf56c..88975c4334 100644 --- a/extraconfig/services/openshift-master.yaml +++ b/extraconfig/services/openshift-master.yaml @@ -200,7 +200,7 @@ outputs: tripleo_stack_action: {get_param: StackAction} openshift_master_node_vars: {get_param: OpenShiftMasterNodeVars} openshift_master_cluster_vars: - openshift_master_cluster_hostname: {get_param: [EndpointMap, OpenshiftPublic, host]} + openshift_master_cluster_hostname: {get_param: [EndpointMap, OpenshiftInternal, host]} openshift_master_cluster_public_hostname: {get_param: [EndpointMap, OpenshiftPublic, host]} # NOTE(flaper87): Check if origin-node is running in the openshift