diff options
author | hu xinhui <xinhui_hu@foxmail.com> | 2017-10-26 10:28:50 +0800 |
---|---|---|
committer | hu xinhui <xinhui_hu@foxmail.com> | 2017-10-26 15:28:40 +0800 |
commit | 681c8b8329530910ed291b7e0f6520ce24a2309e (patch) | |
tree | f1c23e444e56291f3d1a94ecbc34b3e0e09cd2ec /deploy | |
parent | de2ba2c73205c2580f87a73fe7974ae8a8368093 (diff) |
k8s support the helm.
JIRA: -
Change-Id: I8ee06225c32c59a5678a666c47da95f96963dec8
Signed-off-by: hu xinhui <xinhui_hu@foxmail.com>
Diffstat (limited to 'deploy')
-rw-r--r-- | deploy/adapters/ansible/kubernetes/roles/kargo/tasks/main.yml | 6 | ||||
-rw-r--r-- | deploy/adapters/ansible/kubernetes/roles/kargo/vars/main.yml | 2 |
2 files changed, 8 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 d3dcb878..16d0b2c0 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 diff --git a/deploy/adapters/ansible/kubernetes/roles/kargo/vars/main.yml b/deploy/adapters/ansible/kubernetes/roles/kargo/vars/main.yml new file mode 100644 index 00000000..2d396d06 --- /dev/null +++ b/deploy/adapters/ansible/kubernetes/roles/kargo/vars/main.yml @@ -0,0 +1,2 @@ +--- +helm_flag: true |