mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-02 00:33:09 +00:00
Add examples to the helm module for a git source (#47988)
This commit is contained in:
committed by
Alicia Cozine
parent
5b5d41e958
commit
30ce2d2b65
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user