Skip to content

Commit b18afdd

Browse files
committed
test: update yq docs
Adds examples of disabled YQ dialect operators in limactl create --help.
1 parent 41f1478 commit b18afdd

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

cmd/limactl/start.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,10 @@ func newCreateCommand() *cobra.Command {
5858
To create an instance "default" with yq expressions:
5959
$ limactl create --set='.cpus = 2 | .memory = "2GiB"'
6060
61+
Lima's YQ dialect disables environment variable access and file load operations for security reasons.
62+
For example, the following yq operators are NOT supported: env, load, load_str.
63+
For more details, see 'limactl help yq-dialect'.
64+
6165
To create an instance "default" with a template parameter:
6266
$ limactl create --name=default --param containerdSnapshotter=false template:docker
6367

0 commit comments

Comments
 (0)