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
This leads to correctly evaling into something I can use for helm values, however the *{} (according to the documentation) allows all possible labels in that struct. I want to explicitly specify only an empty struct, nothing else should be allowed. I tried { ... _|_ }, but that seems to be invalid syntax. I've also tried close({}), but that doesn't disallow other labels either.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello!
I'd like to deal with helm values.yaml files via cuelang. I've started writing simple cuefiles for tests, however I've run into the following:
This leads to correctly
eval
ing into something I can use for helm values, however the*{}
(according to the documentation) allows all possible labels in that struct. I want to explicitly specify only an empty struct, nothing else should be allowed. I tried{ ... _|_ }
, but that seems to be invalid syntax. I've also triedclose({})
, but that doesn't disallow other labels either.I'd be happy about any help, thanks very much!
Beta Was this translation helpful? Give feedback.
All reactions