[skip ci] Remove unused codes of update file (#13242)

Signed-off-by: wangting0128 <ting.wang@zilliz.com>
This commit is contained in:
wt 2021-12-13 13:11:44 +08:00 committed by GitHub
parent 14ee403bde
commit fc05795d13
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -157,10 +157,12 @@ def update_values(src_values_file, deploy_params_file):
except Exception as e:
logging.error(str(e))
raise Exception("File not found")
deploy_mode = utils.get_deploy_mode(deploy_params)
print("[benchmark update] deploy_mode: %s" % str(deploy_mode))
cluster = False
values_dict["service"]["type"] = "ClusterIP"
# values_dict["service"]["type"] = "ClusterIP"
if deploy_mode != config.DEFUALT_DEPLOY_MODE:
cluster = True
# values_dict["cluster"]["enabled"] = True