From 62c24d131a41ee0271a35be3f26d83ed3aa4452d Mon Sep 17 00:00:00 2001
From: cheliequan <liequanche@126.com>
Date: 星期六, 10 六月 2023 12:09:12 +0800
Subject: [PATCH] 更新openresty 安装配置文件

---
 src/k8s/create.go |   12 +++++++++---
 1 files changed, 9 insertions(+), 3 deletions(-)

diff --git a/src/k8s/create.go b/src/k8s/create.go
index a1681ca..fc089ee 100644
--- a/src/k8s/create.go
+++ b/src/k8s/create.go
@@ -36,6 +36,8 @@
 	NameSpace      string                // Namespace
 	DeploymentName string                // Deployment 鍚嶇О
 	ServiceName    string                // Service 鍚嶇О
+	ALHost         string                // 绠楁硶Host
+	Host           string                // 鏈嶅姟Host
 }
 
 func create_test() {
@@ -228,11 +230,15 @@
 								},
 								{
 									Name:  "DB_HOST",
-									Value: "172.20.11.128",
+									Value: config.DBHost,
 								},
 								{
-									Name:  "GRPC_HOST",
-									Value: "0.0.0.0",
+									Name:  "HOST",
+									Value: config.Host,
+								},
+								{
+									Name:  "AL_HOST",
+									Value: config.ALHost,
 								},
 								{
 									Name:  "DB_NAME",

--
Gitblit v1.8.0