mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Add examples to the helm module for a git source (#47988)
This commit is contained in:
parent
5b5d41e958
commit
30ce2d2b65
1 changed files with 23 additions and 0 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Reference in a new issue