mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-22 04:40:22 -07: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
|
host: localhost
|
||||||
state: absent
|
state: absent
|
||||||
name: my-memcached
|
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:
|
try:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue