BUG: The sealos run
command parameter --env cannot read variables containing commas.
#4662
Labels
kind/bug
Something isn't working
Sealos Version
4.3, 5.0, main
How to reproduce the bug?
sealos run docker.io/labring/victoria-metrics-k8s-stack:v1.96.0 -e HELM_OPTS="--set grafana.enabled=false,vmsingle.enabled=false,vmcluster.enabled=true"
2024-04-07T08:28:08 info start to install app in this cluster
2024-04-07T08:28:08 info Executing SyncStatusAndCheck Pipeline in InstallProcessor
2024-04-07T08:28:08 info Executing ConfirmOverrideApps Pipeline in InstallProcessor
2024-04-07T08:28:08 info are you sure to override these following apps?
docker.io/labring/victoria-metrics-k8s-stack:v1.96.0
Yes [y/yes], No [n/no]: y
✔ Yes [y/yes], No [n/no]: y█
2024-04-07T08:28:10 info Executing pipeline MountRootfs in InstallProcessor.
2024-04-07T08:28:10 info Executing pipeline MirrorRegistry in InstallProcessor.
2024-04-07T08:28:10 info trying default http mode to sync images to hosts [192.168.0.55:22]
2024-04-07T08:28:12 info Executing UpgradeIfNeed Pipeline in InstallProcessor
bash: line 1: export:
vmcluster.enabled=true': not a valid identifier bash: line 1: export:
vmsingle.enabled=false': not a valid identifierWhat is the expected behavior?
https://github.com/labring-actions/cluster-image/tree/main/applications/victoria-metrics-k8s-stack#configuration
-e HELM_OPTS="--set grafana.enabled=false,vmsingle.enabled=false,vmcluster.enabled=true"
can be executed successfully.What do you see instead?
env parsing error, should be:
env: HELM_OPTS: --set grafana.enabled=false,vmcluster.enabled: "true",vmsingle.enabled: "false"
Operating environment
Additional information
No response
The text was updated successfully, but these errors were encountered: