Repository navigation
Expand file tree
/
Copy pathenv.example
More file actions
53 lines (48 loc) · 2.7 KB
/
Copy pathenv.example
File metadata and controls
53 lines (48 loc) · 2.7 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
# Copyright 2026 Everpure, Inc.
# SPDX-License-Identifier: Apache-2.0
#
# Environment for run.sh and tests/e2e_*.sh. Copy it to
# $HOME/.flasharray-eda.env (or anywhere, with FAEDA_ENV pointing at it),
# fill in the values and chmod 600 it. env.sh sources it with `set -a`, so
# every assignment is exported. It is shell syntax: quote a value that
# contains spaces or shell metacharacters.
# --- arrays -------------------------------------------------------------------
# The names must match fa_url_env / api_token_env in the vars file and the
# lookup('env', ...) entries in the inventory; vars/example.yml and
# inventory/example.yml use these four. The polling token can hold a
# read-only role; the playbooks authenticate with the same credential.
ARRAY_A_URL=https://array-a.example.com
ARRAY_A_TOKEN=
ARRAY_B_URL=https://array-b.example.com
ARRAY_B_TOKEN=
# --- webhook secrets ------------------------------------------------------------
# run.sh forwards each of these to ansible-rulebook with --env-vars when it is
# set. Generate a value with: openssl rand -hex 32
# APPROVAL_TOKEN: bearer token the capacity approvals webhook (capacity.yml)
# requires; approve with -H "Authorization: Bearer $APPROVAL_TOKEN"
# GIT_WEBHOOK_SECRET: HMAC secret of the git push webhook (change_control.yml);
# GitHub signs the body as X-Hub-Signature-256: sha256=<hex hmac>
APPROVAL_TOKEN=
GIT_WEBHOOK_SECRET=
# --- automation orchestrator (optional, docs/ORCHESTRATOR.md) -----------------
# Client credentials of the orchestrator service account that is bound to the
# EDA triggers (client ids start with nx_sa_; the secret is shown once when the
# credential is created). playbooks/orchestrator_post.yml reads them with
# lookup('env') when orchestrator_enabled is true in the vars file; run.sh
# also forwards them with --env-vars when set. Tokens live 15 minutes and are
# never written to disk. Leave both empty when the orchestrator is not used.
AO_CLIENT_ID=
AO_CLIENT_SECRET=
# --- Slack (optional) --------------------------------------------------------
# Incoming webhook URL of the channel notifications go to. playbooks/notify.yml
# posts every notification there when this is set; the alert log stays the
# record. On the platform the "Slack webhook" credential carries it instead.
SLACK_WEBHOOK_URL=
# Lowest severity notify.yml posts to Slack: info, warning (the default) or
# critical. Every record reaches the alert log whatever this says.
SLACK_MIN_SEVERITY=
# --- optional overrides (defaults shown) ---------------------------------------
#FAEDA_VARS=vars/local-lab.yml
#FAEDA_INVENTORY=inventory/local-lab.yml
#FAEDA_VENV=/path/to/venv # default: <repo>/venv
#ANSIBLE_COLLECTIONS_PATH=$HOME/.ansible/collections