Browse Source

Updating openshift_logging_kibana default for kibana hostname

ewolinetz 7 years ago
parent
commit
7b4f98f67f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      roles/openshift_logging_kibana/defaults/main.yml

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

@@ -11,7 +11,7 @@ openshift_logging_kibana_nodeselector: ""
 openshift_logging_kibana_cpu_limit: null
 openshift_logging_kibana_memory_limit: 736Mi
 
-openshift_logging_kibana_hostname: "kibana.router.default.svc.cluster.local"
+openshift_logging_kibana_hostname: "{{ openshift_hosted_logging_hostname | default('kibana.' ~ (openshift_master_default_subdomain | default('router.default.svc.cluster.local', true))) }}"
 
 openshift_logging_kibana_es_host: "logging-es"
 openshift_logging_kibana_es_port: 9200