Remove nsPrefix references from consul chart
[oom.git] / kubernetes / consul / resources / config / consul-agent-config / scripts / search-data-service-availability.sh
index d511873..12bf9bf 100644 (file)
@@ -1,6 +1,6 @@
 #!/bin/sh
 
-SEARCH_SERVICE_NAME="search-data-service.{{ .Values.nsPrefix }}"
+SEARCH_SERVICE_NAME="search-data-service.{{ include "common.namespace" . }}"
 SEARCH_SERVICE_PORT=9509
 HEALTH_CHECK_INDEX="healthcheck"