This repository was archived by the owner on Nov 17, 2021. It is now read-only.

Description
When I add an annotation managed-by-kubecfg to my deployment, and set its value to true(boolean, not string)
$ kubecfg validate sandbox/main.jsonnet
INFO Validating deployments sandbox.simple-deploy
INFO validate object "apps/v1, Kind=Deployment"
$ kubecfg show sandbox/main.jsonnet | kubectl diff -f-
error: unable to decode "STDIN": resource.metadataOnlyObject.ObjectMeta: v1.ObjectMeta.Annotations: ReadString: expects " or n, but found t, error found in #10 byte of ...|kubecfg":true},"labe|..., bigger context ...
|environment":"sandbox","managed-by-kubecfg":true},"labels":{"name":"simple-deploy"},"name":"sim|...
The validate and update command didn't report errors which should be. kubectl report the error correctly.