From 14352ddfeb21567629844360cea8dacfd844bace Mon Sep 17 00:00:00 2001
From: OZGCloud <ozgcloud@mgm-tp.com>
Date: Thu, 21 Dec 2023 19:32:17 +0100
Subject: [PATCH] OZG-4453 adjust host

---
 .../src/main/resources/application.yml                          | 2 +-
 .../src/test/resources/application.yml                          | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/ozgcloud-elasticsearch-operator/src/main/resources/application.yml b/ozgcloud-elasticsearch-operator/src/main/resources/application.yml
index 8d392b6..abe025a 100644
--- a/ozgcloud-elasticsearch-operator/src/main/resources/application.yml
+++ b/ozgcloud-elasticsearch-operator/src/main/resources/application.yml
@@ -6,7 +6,7 @@ ozgcloud:
       namespace: elastic-system
       secretName: ozg-search-cluster-es-elastic-user
       secretDataKey: elastic
-      host: ozg-search-cluster-es-http.${ozgcloud.elasticsearch.server.namespace}.svc.cluster.local
+      host: ozg-search-cluster-es-http.${ozgcloud.elasticsearch.server.namespace}
       port: 9200
       scheme: https
       certificateSecretName: elasticsearch-certificate
diff --git a/ozgcloud-elasticsearch-operator/src/test/resources/application.yml b/ozgcloud-elasticsearch-operator/src/test/resources/application.yml
index 8f8d5b7..dee0cbb 100644
--- a/ozgcloud-elasticsearch-operator/src/test/resources/application.yml
+++ b/ozgcloud-elasticsearch-operator/src/test/resources/application.yml
@@ -6,7 +6,7 @@ ozgcloud:
       namespace: elastic-system
       secretName: ozg-search-cluster-es-elastic-user
       secretDataKey: elastic
-      host: ozg-search-cluster-es-http.${ozgcloud.elasticsearch.server.namespace}.svc.cluster.local
+      host: ozg-search-cluster-es-http.${ozgcloud.elasticsearch.server.namespace}
       port: 9200
       scheme: https
       certificateSecretName: elasticsearch-certificate
\ No newline at end of file
-- 
GitLab