Helm: add 'values' examples (#66197)
* DOC: add 'values' examples to helm module docs, see https://github.com/ansible/ansible/issues/31117 Co-authored-by: Abhijeet Kasurde <akasurde@redhat.com>
This commit is contained in:
parent
e5b2432122
commit
6ba4f04f45
1 changed files with 3 additions and 0 deletions
|
@ -90,6 +90,8 @@ EXAMPLES = '''
|
|||
state: present
|
||||
name: my-example
|
||||
namespace: default
|
||||
values:
|
||||
foo: "bar"
|
||||
|
||||
- name: Install helm chart from a git repo specifying path
|
||||
helm:
|
||||
|
@ -102,6 +104,7 @@ EXAMPLES = '''
|
|||
state: present
|
||||
name: my-memcached
|
||||
namespace: default
|
||||
values: "{{ lookup('file', '/path/to/file/values.yaml') | from_yaml }}"
|
||||
'''
|
||||
|
||||
import traceback
|
||||
|
|
Loading…
Reference in a new issue