bugfix:修复sudo helm执行缺少环境变量的bug
This commit is contained in:
@@ -0,0 +1 @@
|
||||
Defaults env_keep += "KUBECONFIG"
|
||||
@@ -39,3 +39,8 @@
|
||||
copy:
|
||||
src: "{{ role_path }}/files/tmpfiles.d/traffic-engine.conf"
|
||||
dest: /usr/lib/tmpfiles.d/
|
||||
|
||||
- name: "install sudoers.d for sudo helm"
|
||||
copy:
|
||||
src: "{{ role_path }}/files/sudoers.d/00-kubconfig"
|
||||
dest: /etc/sudoers.d/
|
||||
|
||||
Reference in New Issue
Block a user