mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 06:12:51 +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
|
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:
|
||||||
|
|||||||
Reference in New Issue
Block a user