aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/vfc/values.yaml
diff options
context:
space:
mode:
authoryangyan <yangyanyj@chinamobile.com>2020-03-11 10:14:42 +0800
committeryangyan <yangyanyj@chinamobile.com>2020-03-11 10:15:14 +0800
commit0a90d8df59e2f09d59bff3d9752781f510368dfa (patch)
tree8650c3b1c7fac37e6abb7cba248b20c2256154f7 /kubernetes/vfc/values.yaml
parentb8316cdbeaed1c4929531da836f24639c745ab66 (diff)
Add VFC env about reg_to_msb_when_start to determine whether register to microserice
Becaue now oom can register the microservice to msb automatically, if without K8S, we can also register vfc microservice to msb automatically by vfc container itself. IF it is set to false, vfc contanier will not register again, if it is set to true, vfc will register by itself. we use this flag to determine who is responbile for serice registeration and it can reduce duplicate registration. Change-Id: Ie79a8803725ae0c762d9c39a04f922d9823c46e2 Issue-ID: VFC-1601 Signed-off-by: yangyan <yangyanyj@chinamobile.com>
Diffstat (limited to 'kubernetes/vfc/values.yaml')
-rw-r--r--kubernetes/vfc/values.yaml5
1 files changed, 5 insertions, 0 deletions
diff --git a/kubernetes/vfc/values.yaml b/kubernetes/vfc/values.yaml
index 88275aea83..b204c58f94 100644
--- a/kubernetes/vfc/values.yaml
+++ b/kubernetes/vfc/values.yaml
@@ -20,6 +20,11 @@ global:
msbPort: 443
redisServiceName: vfc-redis
redisPort: 6379
+# Becaue now oom can register the microservice to msb automatically,
+# If it is set to false, vfc contanier will not register again, if it is
+# set to true, vfc will register by itself.
+# we use this flag to determine who is responbile for serice registeration
+# and it can reduce duplicate registration.
reg_to_msb_when_start: False
mariadb_admin: root
persistence: