Browse Source

Changing default of openshift_logging_public_master_url to use openshift_master_cluster_public_hostname if available

Eric Wolinetz 7 years ago
parent
commit
3349f8c4c4
1 changed files with 1 additions and 1 deletions
  1. 1 1
      roles/openshift_logging/defaults/main.yml

+ 1 - 1
roles/openshift_logging/defaults/main.yml

@@ -1,7 +1,7 @@
 ---
 openshift_logging_use_ops: False
 openshift_logging_master_url: "https://kubernetes.default.svc.{{ openshift.common.dns_domain }}"
-openshift_logging_master_public_url: "{{ 'https://' + openshift.common.public_hostname + ':' ~ (openshift_master_api_port | default('8443', true)) }}"
+openshift_logging_master_public_url: "{{ 'https://' + openshift_master_cluster_public_hostname | default(openshift.common.public_hostname) + ':' ~ (openshift_master_api_port | default('8443', true)) }}"
 openshift_logging_namespace: logging
 openshift_logging_nodeselector: null
 openshift_logging_labels: {}