ansible-collections / community.kubernetes

Kubernetes Collection for Ansible
https://galaxy.ansible.com/community/kubernetes
GNU General Public License v3.0
265 stars 104 forks source link

A module for rendering Helm3 templates #367

Closed tima closed 3 years ago

tima commented 3 years ago
SUMMARY

Create a module for rendering Helm3 templates -- the functional equivalent of the helm template command.

This comes out of discussion in #285.

ISSUE TYPE
COMPONENT NAME

helm_template

ADDITIONAL INFORMATION

Sometimes a chart needs to be different under under different conditions so a template is used. While an Ansible content developer could use the template module an Jinja2, some may already have or be forced to work with Helm charts. Ansible should address this scenario in a more Helm-native way with a module that is the functional equivalent of the `helm template command.

This module should use parameters like helm and other modules for cohesive and consistent operation with Helm3 automation.