Skip to content

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

@1180300723xiangwenqi

Description

@1180300723xiangwenqi

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions