python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
Helm string concatenation using other variables
In Helm (using v3) how can I build up a variable inside of a template using other variables? Assume I have the following:
{{- $def := index .Values "default" -}}
apiVersion: v1
data:
POSTG...
Justin
Votes: 0
Answers: 1
golang Template json to yml format
Hi I am looking to Create the Yml in the following format using the Json data passed to our go api.
zookeeper:
configs:
zookeeper_user: custom-user
zookeeper_group: custom-group
...
user121080
Votes: 0
Answers: 1
Kubernetes plugin for IntelliJ Idea does not recognize values references
I have an issues with few latest version of Intellij with kubernetes plugin.
I am using helm, so typically my chart looks like below:
helm
templates
deployment.yaml
...
Chart.yaml
values...

liotur
Votes: 0
Answers: 0
How do I access substrings (s[:2]) in Go templates?
Similar to Go templates: How do I access array item (arr[2]) in templates?
How do I directly access substrings (e.g. s[:2]) in Go templates?
Whenever I do this I get "bad character U+005B '['&quo...
xpt
Votes: 0
Answers: 1