blob: 81cf9f63a46d9d8021bd51eb8d6dc215672e07f7 [file] [log] [blame]
# TODO: error message could be improved.
! cue import test.yaml -p kube -l 'strings.ToCamel(kind)' -l metadata.name -f
cmp stderr expect-stderr
-- test.yaml --
apiVersion: v1
kind: Service
metadata:
name: ingress-nginx
spec:
type: NodePort
---
# EMPTY FILE
-- expect-stderr --
unsupported label path type: reference "kind" not found