blob: d226d3b8a37bd86b5366a2ac01275474db36299a [file] [log] [blame]
Alex Savatieiev5118de02019-02-20 15:50:42 -06001# Cfg Checker
Oleksandr Savatieiev0f77e142018-11-23 17:52:01 +01002# Environment file example
3
4# Either open a tunnel from your hosts using
5# 'ssh -L 16969:<cfg-IP>:6969 <user>@<lab-IP>'
6# Or run it from within a cloud
7
Oleksandr Savatieiev0f77e142018-11-23 17:52:01 +01008# Main log file of the tests
Alex9a4ad212020-10-01 18:04:25 -05009MCP_LOGFILE = 'cfg_checker.log'
Oleksandr Savatieiev0f77e142018-11-23 17:52:01 +010010
Alex Savatieiev63576832019-02-27 15:46:26 -060011# SSH is used when environment is not local to get salt password
12# in order set options and user for the ssh,
13# please, use ~/.ssh/config
14# SSH hostname of salt master node
Alex9a4ad212020-10-01 18:04:25 -050015MCP_SSH_KEY=<ssh_keyfile_path>
16MCP_SSH_USER=<ssh_user>
17MCP_SSH_HOST=<ssh_hostname>
18
19
20### Salt type section
21# All vars should start with SALT
Alex Savatieiev63576832019-02-27 15:46:26 -060022
Oleksandr Savatieiev0f77e142018-11-23 17:52:01 +010023# Salt master host to connect to
Alex9a4ad212020-10-01 18:04:25 -050024MCP_ENV_HOST=127.0.0.1
Oleksandr Savatieiev0f77e142018-11-23 17:52:01 +010025
26# Salt master port.
Alex Savatieievd48994d2018-12-13 12:13:00 +010027# Note that you can safely execute second master (not on production)
Oleksandr Savatieiev0f77e142018-11-23 17:52:01 +010028# on the same cfg node with diferent port and set logging to ALL
Alex Savatieiev63576832019-02-27 15:46:26 -060029SALT_PORT=6969
Oleksandr Savatieiev0f77e142018-11-23 17:52:01 +010030
31# User and password to auth on master. Can be found in /srv/salt/...
32SALT_USER=salt
Oleksandr Savatieiev0f77e142018-11-23 17:52:01 +010033
34# default timeout for salt calls
35SALT_TIMEOUT=30
36
37# Folder where salt points its filesystem: salt://
38SALT_FILE_ROOT=/usr/share/salt-formulas/env/
39
40# Subfolder with scripts to be uploaded
41SALT_SCRIPTS_FOLDER=test_scripts
42
Alex0bcf31b2022-03-29 17:38:58 -050043# All nodes list file overide when salt.keys request failed
Oleksandr Savatieiev0f77e142018-11-23 17:52:01 +010044SALT_NODE_LIST_FILE=etc/example._list
Alex9a4ad212020-10-01 18:04:25 -050045
46### K8s section
Alex0bcf31b2022-03-29 17:38:58 -050047# Kube config root when it is being looked up on remote host
48KUBE_CONFIG_ROOT=/root
49# Script folder to store scripts in pod
50KUBE_SCRIPTS_FOLDER=cfg-checker-scripts
51# Kube host's username to use when accessing it via SSH
52KUBE_NODE_USER=mcc-user
53# Key to use when accessing kube hosts remotely
54KUBE_NODE_KEYPATH=/.../<project_folder>/envs/node.key