From 30ce2d2b65f5ff6eaeb0eba6b49425cb01589019 Mon Sep 17 00:00:00 2001 From: Romain Poirot <32273490+Redlinkk@users.noreply.github.com> Date: Fri, 2 Nov 2018 19:35:32 +0100 Subject: [PATCH] Add examples to the helm module for a git source (#47988) --- lib/ansible/modules/cloud/misc/helm.py | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/lib/ansible/modules/cloud/misc/helm.py b/lib/ansible/modules/cloud/misc/helm.py index 88dd4159482..dcde0fc3f6b 100644 --- a/lib/ansible/modules/cloud/misc/helm.py +++ b/lib/ansible/modules/cloud/misc/helm.py @@ -79,6 +79,29 @@ EXAMPLES = ''' host: localhost state: absent name: my-memcached + +- name: Install helm chart from a git repo + helm: + host: localhost + chart: + source: + type: git + location: https://github.com/user/helm-chart.git + state: present + name: my-example + namespace: default + +- name: Install helm chart from a git repo specifying path + helm: + host: localhost + chart: + source: + type: git + location: https://github.com/helm/charts.git + path: stable/memcached + state: present + name: my-memcached + namespace: default ''' try: