Closed benmoss closed 3 years ago
As you mention, the -
does need to be quoted because otherwise yaml thinks it is the beginning of new array.
We have noticed a fair amount of places in our docs where we do not promote this where we can update the docs:
A more helpful error would probably help as well.
There is not much we can do here because it is the yaml parsing that is failing. We may be able to get better error messages through adding schema to the App CRD. I created #130 to capture this work.
As @ewrenn8 mentioned, there isn't much we can do here. #130 captures a potential error message improvement.
Since @danielhelfand already made the docs updates, can we close out this issue?
What steps did you take: Deployed an app piping from kbld to ytt:
What happened: The deploy eventually times out, but the kapp-controller logs this:
What did you expect: It just works, or at least is documented that you need to quote
-
as an argument.Anything else you would like to add: Quoting
-
fixes the problem.Environment:
kubectl version
)