I\'m using helm to generate kubernetes yamls.
My values.yaml looks like this:
... jobs: - nme: job1 command: [sh, -c, \"/app/deployment/start.sh j
Inside the loop the value of the . is set to the current element and you have to use $.Chart.Name to access your data.
.
$.Chart.Name
I asked a similar question and I think the answer https://stackoverflow.com/a/44734585/8131948 will answer your question too.