From e49f58dc4fd0924f9bf031391ff9a6052e3aaaf2 Mon Sep 17 00:00:00 2001
From: Petr OspalĂ˝
Date: Thu, 23 May 2019 14:34:22 +0200
Subject: Add support for extra helm install arguments
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Change-Id: Ie0b4e812acf6fba4e4b8f082533ab2f998456095
Issue-ID: OOM-1877
Signed-off-by: Petr OspalĂ˝
---
ansible/roles/application/tasks/install.yml | 1 +
1 file changed, 1 insertion(+)
(limited to 'ansible/roles/application/tasks')
diff --git a/ansible/roles/application/tasks/install.yml b/ansible/roles/application/tasks/install.yml
index cdc7ced0..bdf6e511 100644
--- a/ansible/roles/application/tasks/install.yml
+++ b/ansible/roles/application/tasks/install.yml
@@ -72,6 +72,7 @@
{{ helm_repository_name }}/{{ app_helm_chart_name }}
--namespace {{ app_kubernetes_namespace }}
{{ '' if app_skip_helm_override else '-f ' + app_helm_override_file }}
+ {% for arg in helm_extra_install_options %} {{ arg.opt }} {% endfor %}
changed_when: true # when executed its a changed type of action
register: helm_install
failed_when: helm_install.stderr
--
cgit 1.2.3-korg