litmuschaos/litmusctl

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

1180300723xiangwenqi opened this issue · 0 comments

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?