How do I customize and use the Bitnami Helm chart templates?

0
3
Asked By CuriousCoder123 On

Hey everyone! I'm diving into building my own Helm chart and want to utilize the predefined templates from Bitnami. I've found the templates in their GitHub repo, but I'm struggling to get things set up. Just copying the files into my Helm folder isn't working as expected. I noticed the Bitnami templates have these placeholders like **%%MAIN_OBJECT_BLOCK%%** and **%%COMPONENT_NAME%%** in the `values.yaml` file. I'm confused about where to define these variables and how to transform the Bitnami template into my own version that uses those placeholders correctly. Can I somehow leverage `helm create mydemo` with the Bitnami template as a base? Any guidance would be super helpful!

2 Answers

Answered By DevDude42 On

Here's a straightforward approach: 1. Fork or clone the Bitnami charts repo. 2. Replace the placeholders in the templates with your own values. It might help to look up specific issues on GitHub related to customizations; they often have insights on how to modify the templates for your needs. Good luck!

Answered By TechieTom On

When you run `helm create %%placeholder%%`, it sets up a basic project structure for you. The Bitnami templates are intended for you to replace those placeholders (like **%%something%%**) with your actual values. It's not about passing variables while executing `helm create`; it's more about editing the templates after you’ve downloaded them. You’ll need to adjust all the necessary values manually. Also, `helm create` doesn't use the Bitnami templates directly as a base, so you'll have to configure everything yourself after creating your project.

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.