Hi folks, Quastion 7 of this lab asks for :
Make appropriate changes in the serviceaccount.yaml
file to:
- Check whether
serviceAccount
should be created or not (use thewith
conditional). - Use the serviceAccount
name
from thevalues.yaml
file.
Well, I didn’t get why use “with” to check a condition, “with” according to helm docs should be used to control variable scoping. I have to read the answer tab to find what you did, as no answer was good, and I confess I didn’t like your solution too much. Is it possible to review it ?
Also, question 10 is not clear enough. Beyond use of $val and $key values which were not covered, the exercise asks for a label : “app.kubernetes.io/managed-by=Helm” which I could not find anywhere and had to remove because it was not at the answer. Also the $.Values.serviceAccount.name, is strange, if I’m already into .Values.serviceAccount scope, why should I refer to the root as it was out of the scope? Is it possible to check these? tks…