From c3033dc4de1059bf1b908a6576020f156fafc5c2 Mon Sep 17 00:00:00 2001 From: lusyoe Date: Wed, 5 Dec 2018 01:31:18 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0helm=20tls=E7=8E=AF=E5=A2=83?= =?UTF-8?q?=E5=8F=98=E9=87=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- roles/helm/tasks/main.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/roles/helm/tasks/main.yml b/roles/helm/tasks/main.yml index 04bfbf99e..4489c4fcb 100755 --- a/roles/helm/tasks/main.yml +++ b/roles/helm/tasks/main.yml @@ -54,10 +54,10 @@ regexp: 'helm completion' line: 'source <(helm completion bash)' -# (DEPRECATED) 为方便与tiller进行安全通信,使用helms别名;helm v2.11.0 无法使用这个别名方式 -#- name: 配置helm命令别名 -# lineinfile: -# dest: ~/.bashrc -# state: present -# regexp: "alias helms" -# line: "alias helms='helm --tls --tiller-namespace {{ helm_namespace }}'" +# 为方便与tiller进行安全通信,启用helm tls环境变量;仅支持helm v2.11.0及以上版本 +- name: 配置helm tls环境变量 + lineinfile: + dest: ~/.bashrc + state: present + regexp: "helm tls environment" + line: "export HELM_TLS_ENABLE=true"