Closed
Description
What steps did you take:
Occasionally, executing kapp deploy command fails with the following error
What happened:
if [ "$(kubectl api-resources --api-group=kappctrl.k14s.io -o name | wc -l)" -eq 0 ] ; then \
kapp deploy \
--yes \
--app=kc \
--namespace=kube-system \
--file=https://github.com/vmware-tanzu/carvel-kapp-controller/releases/latest/download/release.yml ; \
fi
Target cluster 'https://<omitted>:<port>' (nodes: <omitted>, 3+)
kapp: Error: error converting YAML to JSON: yaml: line 8: mapping values are not allowed in this context
Kapp version: kapp version 0.47.0