What are Go Template? (similar to ejs in Node.js)

Go Templates are a simple and powerful templating engine in the Go programming language. They are designed for creating text-based output (like YAML, HTML, etc.) by embedding Go logic inside placeholders. In Helm, Go Templates are used to generate Kubernetes YAML files dynamically based on input values and template logic.

Basic Syntax

In Helm, templates are defined using the following structure: