cancel
Showing results for 
Search instead for 
Did you mean: 
Flyers
Cadet
Cadet
  • 1,329 Views

DO288 exam - help with helm charts

I have been trying to follow the instructions in Chp6 of the documentation to deploy multi-container app using helm. I have been getting the following error and feel it has something to do with syntax.

Error: INSTALLATION FAILED: parse error at (famouschart/templates/deployment.yaml:37): function "Values" not defined

a) how to debug this? I know there are many online sites to check yaml but wanted to know if someone has suggestions using command prompt

b) In the exam can someone give me tips so that I don't waste a lot fo time d

Labels (1)
Tags (1)
1 Reply
marcin88
Cadet
Cadet
  • 1,193 Views

I am assuming that you put

{{- range Values.env }}

but it should be:

{{- range .Value.env }}

 

You forgot put "." (dot) before Values therefore Values is interpreted as a function not like a variable. Putting dot should solve the problem.

Join the discussion
You must log in to join this conversation.