support deploy collector on web, fix dispatch bugs (#1251)
Co-authored-by: Ceilzcx <1758619238@qq.com>
diff --git a/hertzbeat/templates/collector/configmap.yaml b/hertzbeat/templates/collector/configmap.yaml
index 5ef8e73..e9d5124 100644
--- a/hertzbeat/templates/collector/configmap.yaml
+++ b/hertzbeat/templates/collector/configmap.yaml
@@ -6,7 +6,7 @@
     {{- include "hertzbeat.labels" . | nindent 4 }}
 data:
   IDENTITY: ""
-  MANAGER_IP: "{{ include "hertzbeat.manager.host" . }}"
+  MANAGER_HOST: "{{ include "hertzbeat.manager.host" . }}"
   MANAGER_PORT: "1158"
   application.yml: |+
     server:
@@ -34,7 +34,7 @@
           netty:
             enabled: true
             identity: ${IDENTITY:}
-            manager-ip: ${MANAGER_IP:127.0.0.1}
+            manager-host: ${MANAGER_HOST:127.0.0.1}
             manager-port: ${MANAGER_PORT:1158}
     
     common: