Skip to content

Commit

Permalink
添加helm tls环境变量
Browse files Browse the repository at this point in the history
  • Loading branch information
lusyoe authored and gjmzj committed Dec 6, 2018
1 parent dfc14ab commit c3033dc
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions roles/helm/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"

0 comments on commit c3033dc

Please sign in to comment.