mirror of
https://github.com/krkn-chaos/krkn.git
synced 2026-02-14 09:59:59 +00:00
Documentation says we default to ~ for looking up the kubernetes config but then we set everywhere /root. Fixed the config to really look for ~. Should solve #327. Signed-off-by: Sandro Bonazzola <sbonazzo@redhat.com>
36 lines
2.0 KiB
YAML
36 lines
2.0 KiB
YAML
###############################################################################
|
|
# Ansible SSH variables.
|
|
###############################################################################
|
|
ansible_public_key_file: "{{ lookup('env', 'PUBLIC_KEY')|default('~/.ssh/id_rsa.pub', true) }}"
|
|
ansible_private_key_file: "{{ lookup('env', 'PRIVATE_KEY')|default('~/.ssh/id_rsa', true) }}"
|
|
|
|
orchestration_user: "{{ lookup('env', 'ORCHESTRATION_USER')|default('root', true) }}"
|
|
###############################################################################
|
|
|
|
# kube config location
|
|
kubeconfig_path: "{{ lookup('env', 'KUBECONFIG_PATH')|default('~/.kube/config', true) }}"
|
|
|
|
# kraken dir location on jump host
|
|
kraken_dir: "{{ lookup('env', 'KRAKEN_DIR')|default('~/kraken', true) }}"
|
|
|
|
# kraken config path location
|
|
kraken_config: "{{ lookup('env', 'KRAKEN_CONFIG')|default('~/kraken/config/config.yaml', true) }}"
|
|
|
|
# kraken repository location
|
|
kraken_repository: "{{ lookup('env', 'KRAKEN_REPOSITORY')|default('https://github.com/openshift-scale/kraken.git', true) }}"
|
|
|
|
# scenarios to inject
|
|
scenarios_folder_path: "{{ lookup('env', 'SCENARIOS_FOLDER_PATH')|default('CI/scenarios/', true) }}"
|
|
scenarios: "{{ lookup('env', 'SCENARIOS')|default('[[scenarios/etcd.yml, scenarios/post_action_etcd_example.sh], [scenarios/openshift-apiserver.yml, scenarios/post_action_openshift-kube-apiserver.yml], [scenarios/openshift-kube-apiserver.yml, scenarios/post_action_openshift-apiserver.yml], [scenarios/regex_openshift_pod_kill.yml, scenarios/post_action_regex.py]]', true) }}"
|
|
|
|
exit_on_failure: "{{ lookup('env', 'EXIT_ON_FAILURE')|default(false, true) }}"
|
|
|
|
# Cerberus enabled by user
|
|
cerberus_enabled: "{{ lookup('env', 'CERBERUS_ENABLED')|default(false, true) }}"
|
|
cerberus_url: "{{ lookup('env', 'CERBERUS_URL')|default('', true) }}"
|
|
|
|
# Kraken configurations
|
|
wait_duration: "{{ lookup('env', 'WAIT_DURATION')|default(60, true) }}"
|
|
iterations: "{{ lookup('env', 'ITERATIONS')|default(1, true) }}"
|
|
daemon_mode: "{{ lookup('env', 'DAEMON_MODE')|default(false, true) }}"
|