community.kubernetes.helm_template – Render chart templates¶
Note
This plugin is part of the community.kubernetes collection (version 1.2.1).
To install it use: ansible-galaxy collection install community.kubernetes
.
To use it in a playbook, specify: community.kubernetes.helm_template
.
Parameters¶
Examples¶
- name: Render templates to specified directory
community.kubernetes.helm_template:
chart_ref: stable/prometheus
output_dir: mycharts
- name: Render templates
community.kubernetes.helm_template:
chart_ref: stable/prometheus
register: result
- name: Write templates to file
copy:
dest: myfile.yaml
content: "{{ result.stdout }}"
Return Values¶
Common return values are documented here, the following are the fields unique to this module:
Authors¶
Mike Graves (@gravesm)