aboutsummaryrefslogtreecommitdiffstats
path: root/deploy/adapters/ansible/kubernetes/roles/kargo/tasks
diff options
context:
space:
mode:
authorhu xinhui <xinhui_hu@foxmail.com>2017-10-26 10:28:50 +0800
committerhu xinhui <xinhui_hu@foxmail.com>2017-10-26 15:28:40 +0800
commit681c8b8329530910ed291b7e0f6520ce24a2309e (patch)
treef1c23e444e56291f3d1a94ecbc34b3e0e09cd2ec /deploy/adapters/ansible/kubernetes/roles/kargo/tasks
parentde2ba2c73205c2580f87a73fe7974ae8a8368093 (diff)
k8s support the helm.
JIRA: - Change-Id: I8ee06225c32c59a5678a666c47da95f96963dec8 Signed-off-by: hu xinhui <xinhui_hu@foxmail.com>
Diffstat (limited to 'deploy/adapters/ansible/kubernetes/roles/kargo/tasks')
-rw-r--r--deploy/adapters/ansible/kubernetes/roles/kargo/tasks/main.yml6
1 files changed, 6 insertions, 0 deletions
diff --git a/deploy/adapters/ansible/kubernetes/roles/kargo/tasks/main.yml b/deploy/adapters/ansible/kubernetes/roles/kargo/tasks/main.yml
index d3dcb87..16d0b2c 100644
--- a/deploy/adapters/ansible/kubernetes/roles/kargo/tasks/main.yml
+++ b/deploy/adapters/ansible/kubernetes/roles/kargo/tasks/main.yml
@@ -83,6 +83,12 @@
tags:
- ansible
+- name: enable helm
+ lineinfile:
+ dest: /opt/kargo_k8s/inventory/group_vars/k8s-cluster.yml
+ regexp: '^helm_enabled:'
+ line: 'helm_enabled: {{ helm_flag }}'
+
- name: run kargo playbook
shell: |
cd /opt/kargo_k8s