fallback value in -l
flag if field does not exist
#3245
Answered
by
hansbogert
hansbogert
asked this question in
Q&A
-
When dealing with kubernetes manifests it is quite handy to import them with something like:
However, this fails with Cluster wide resources as there is no namespace defined.
|
Beta Was this translation helpful? Give feedback.
Answered by
hansbogert
Jul 1, 2024
Replies: 1 comment 2 replies
-
It starts making sense to translate
where schema.cue has:
It's a bit unwieldy but works. |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
hansbogert
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It starts making sense to translate
cue export
intocue transform
in my head, we can just pre-process:where schema.cue has:
It's a bit unwieldy but works.