You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 17, 2021. It is now read-only.
Currently kubecfg show can only be used to render Kubernetes objects. This makes sense given the origin of kubecfg and its ties to Kubernetes.
For example:
$ echo '[{ hi: "hello" }]' >/tmp/test.jsonnet ; jsonnet /tmp/test.jsonnet ; kubecfg show /tmp/test.jsonnet
[
{
"hi": "hello"
}
]
ERROR Error reading /tmp/test.jsonnet: Looking for kubernetes object at <top>[0].hi, but instead found string
Being a generic tool with certain properties, kubecfg show could also be used to render generic JSON or YAML files.
One option is for kubecfg show to include new flag that disables the validation - such as kubecfg show --validate=false or --kubernetes-objects=false, but this is just a suggestion and I am open to other ways in which this would get implemented and/or discussion about it.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Currently
kubecfg show
can only be used to render Kubernetes objects. This makes sense given the origin of kubecfg and its ties to Kubernetes.For example:
Being a generic tool with certain properties,
kubecfg show
could also be used to render generic JSON or YAML files.One option is for
kubecfg show
to include new flag that disables the validation - such askubecfg show --validate=false
or--kubernetes-objects=false
, but this is just a suggestion and I am open to other ways in which this would get implemented and/or discussion about it.The text was updated successfully, but these errors were encountered: