python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
Helm tpl function pass in file specific variable and global Values
Using the helm function tpl or other similar functions, how do you pass in a file specific variable and the top level Values? Here is a concrete example:
# values
template: "{{ .Values.name }} dr...
jjbskir
Votes: 0
Answers: 1
GoLang html template if condition
I made a web app in Go which search for a query in a mysql database. Everything works fine, but I do not know how to obtain following: if there is no result in database print e.g. "there is no pr...
jusk pikanet
Votes: 0
Answers: 2
How to make Sprig function kindIs interpret the string "true" as a string rather than a boolean
The Go template Sprig function kindIs is used to test the type of a value:
kindIs "string" "hello" returns true.
What if the string is actually "true", not the boolean tr...
DECEMCLMC
Votes: 0
Answers: 1
Is there any way to run custom commands with go install command?
I've written a simple code generation tool. I've used text/template package in this tool. When I installed it with go build command, it installed successfully. The only problem I'm facing is how to in...
shantanu sharma
Votes: 0
Answers: 1