diff --git a/ozgcloud-elasticsearch-operator/src/main/resources/application.yml b/ozgcloud-elasticsearch-operator/src/main/resources/application.yml index 8d392b6e3267149dbe70eac053c2600893c843f5..abe025aec3c45c897df19ddefe09d0ec741d1b5f 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 8f8d5b7a0e70df0ba667d6c2e0726ca9554a245f..dee0cbb80474c74bd0fff2abdbc95dab71ddfc34 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