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
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!
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
Set Wordpress Featured Image Using Javascript
How To Fix PHP Random Being The Same
Why no WebP Support with Wordpress
Replace Wordpress Cron With Linux Cron
Customize Yoast Canonical URL Programmatically
[Centos] Delete All Files And Folders That Contain a String