diff --git a/ozgcloud-elasticsearch-operator/src/main/resources/application.yml b/ozgcloud-elasticsearch-operator/src/main/resources/application.yml
index b9c03f42f5dd9340efc3f0b0990342c4a02f1271..8d392b6e3267149dbe70eac053c2600893c843f5 100644
--- a/ozgcloud-elasticsearch-operator/src/main/resources/application.yml
+++ b/ozgcloud-elasticsearch-operator/src/main/resources/application.yml
@@ -6,11 +6,11 @@ ozgcloud:
       namespace: elastic-system
       secretName: ozg-search-cluster-es-elastic-user
       secretDataKey: elastic
-      host: ozg-search-cluster-es-http
+      host: ozg-search-cluster-es-http.${ozgcloud.elasticsearch.server.namespace}.svc.cluster.local
       port: 9200
       scheme: https
       certificateSecretName: elasticsearch-certificate
-      certificateSecretDataKey: tlsCrt
+      certificateSecretDataKey: ca.crt
 
 management:
   server:
diff --git a/ozgcloud-elasticsearch-operator/src/test/resources/application.yml b/ozgcloud-elasticsearch-operator/src/test/resources/application.yml
index 56a0ea89025552429eb37bda580095dee2bd8d94..8f8d5b7a0e70df0ba667d6c2e0726ca9554a245f 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
+      host: ozg-search-cluster-es-http.${ozgcloud.elasticsearch.server.namespace}.svc.cluster.local
       port: 9200
       scheme: https
       certificateSecretName: elasticsearch-certificate
\ No newline at end of file