Skip to content
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

How to use the config file to provide parameters for the command: litmusctl connect chaos-delegate --config config.yaml #129

Open
1180300723xiangwenqi opened this issue Mar 9, 2023 · 0 comments

Comments

@1180300723xiangwenqi
Copy link

1180300723xiangwenqi commented Mar 9, 2023

I am learning how to use litmusctl command to connect chaotic delegates,and an example of non-interactive mode usage of this command is as follows:

litmusctl connect chaos-delegate \
--project-id="bbc9558a-2033-439e-85b1-84dd33b02837" \
--name="chaos-delegate" \
--skip-ssl=true \
--installation-mode="cluster" \
--namespace="chaos-delegate-ns" \
--ns-exists=false \
--platform-name="Others" \
--service-account="litmus" \
--sa-exists=false \
--non-interactive

In the process of learning, I found this usage: litmusctl connect chaos-delegate --config [config file].
So I wonder whether the config file here has the usage of providing the parameters required for the litmusctl connect chaos-delete command, such as "-- namespace" and “--name”.
If the config file has this function, how should I write my config file?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant