-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BUG: The sealos run
command parameter --env cannot read variables containing commas.
#4662
Labels
kind/bug
Something isn't working
Comments
The execution of env can be read correctly:
|
bxy4543
changed the title
BUG: The cluster image cannot be used correctly --env passed in the helm set parameter
BUG: The Apr 11, 2024
sealos run
command parameter --env cannot read variables containing commas.
I have also encountered this issue, which can result in long commands. |
This issue has been automatically closed because we haven't heard back for more than 60 days, please reopen this issue if necessary. |
This issue has been automatically closed because we haven't heard back for more than 60 days, please reopen this issue if necessary. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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: