Skip to content

Commit

Permalink
Merge pull request #205 from AkihiroSuda/mark-env-experimental
Browse files Browse the repository at this point in the history
yaml: mark "Env" experimental for now
  • Loading branch information
AkihiroSuda authored Sep 4, 2021
2 parents efc2a6e + 0c32b5d commit be68278
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion pkg/limayaml/default.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,10 @@ network:
# hostPortRange: [1024, 65535]
# # Any port still not matched by a rule will not be forwarded (ignored)

# # extra environment variables that will be loaded into the VM at start up
# Extra environment variables that will be loaded into the VM at start up.
# These variables are currently only consumed by internal init scripts, not by the user shell.
# This field is experimental and may change in a future release of Lima.
# https://github.com/lima-vm/lima/pull/200
# env:
# KEY: value

Expand Down
2 changes: 1 addition & 1 deletion pkg/limayaml/limayaml.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ type LimaYAML struct {
Probes []Probe `yaml:"probes,omitempty"`
PortForwards []PortForward `yaml:"portForwards,omitempty"`
Network Network `yaml:"network,omitempty"`
Env map[string]*string `yaml:"env,omitempty"`
Env map[string]*string `yaml:"env,omitempty"` // EXPERIMENAL, see default.yaml
}

type Arch = string
Expand Down

0 comments on commit be68278

Please sign in to comment.