Configure ChaosIQ settings as secret

This section explains how to configure and use this operator for running ChaosIQ verifications and experiments.

To be able to fetch assets from ChaosIQ, as well as pushing back results, for both experiments and verifications, you’ll need to setup a settings file with a valid token and selected targeted organization & team.

Please refer to these documentation links, to signin to ChaosIQ with a token and select your default organization and team.

By default, the settings file can be located at: ~/.chaostoolkit/settings.yaml

Then, you’ll need to load these settings into Kubernetes, as a secret:

$ kubectl -n chaostoolkit-run \
    create secret generic chaostoolkit-settings \
    --from-file=settings.yaml=~/.chaostoolkit/settings.yaml
Please refer to the official documentation for more information on how to pass settings to the experiment with the operator.

You might have multiple organizations and teams, even possibly tokens, to use. In that case, it’s best to uniquely name your secret, as example: chaostoolkit-settings-<my-org>-<my-team> This will allow you to use multiple verifications and experiments from various teams within the same namespace in your Kubernetes cluster. However, you’ll need to specify the settings secret name to the Chaos Experiment, as described in the documentation.