Category "go-templates"

How to pass dynamic arguments to a helm chart that runs a job

I'd like to allow our developers to pass dynamic arguments to a helm template (Kubernetes job). Currently my arguments in the helm template are somewhat static

How to pass multiple data to Go template?

I want to pass two data objects to Go Template. One is a MongoDB query result and other is an integer array. MongoDB Query:- var results []User sess, db := Ge

How can you call a helm 'helper' template from a subchart with the correct context?

Helm charts define helper templates in _helpers.tpl which are used to create normalized names for the services. The standard form of the template for a service

Assign Golang variable to Javascript

Currently I am having an issue related to assign a Golang variable to a Javascript variable. I am using the Golang templates, so, from the backend I sent a JSON

Creating yaml list using the go template

I am looking to create a yaml file in the following format. Using Go template Custom_listeners: Config1 : config_value Config2 : config_value