2023-08-25 17:32:00 +02:00
|
|
|
# Emissary agent configuration
|
|
|
|
|
|
|
|
# Logger configuration
|
2023-03-08 17:30:31 +01:00
|
|
|
logger:
|
2023-08-25 17:32:00 +02:00
|
|
|
# Logging verbosity
|
|
|
|
# DEBUG: 0
|
|
|
|
# INFO: 1
|
|
|
|
# WARN: 2
|
|
|
|
# ERROR: 3
|
|
|
|
# CRITICAL: 4
|
2023-03-08 17:30:31 +01:00
|
|
|
level: 1
|
2023-08-25 17:32:00 +02:00
|
|
|
# Logging format
|
|
|
|
# Possible values: human, json
|
2023-03-08 17:30:31 +01:00
|
|
|
format: human
|
2023-08-25 17:32:00 +02:00
|
|
|
|
|
|
|
# Agent configuration
|
2023-02-02 10:55:24 +01:00
|
|
|
agent:
|
2023-08-25 17:32:00 +02:00
|
|
|
# Emissary server URL
|
2023-03-02 17:22:05 +01:00
|
|
|
serverUrl: http://127.0.0.1:3000
|
2023-08-25 17:32:00 +02:00
|
|
|
# Agent private key path
|
2023-03-02 17:22:05 +01:00
|
|
|
privateKeyPath: /var/lib/emissary/agent-key.json
|
2023-08-25 17:32:00 +02:00
|
|
|
# Agent reconciliation interval (in seconds)
|
|
|
|
reconciliationInterval: 30
|
|
|
|
|
|
|
|
# Controllers configuration
|
2023-02-02 10:55:24 +01:00
|
|
|
controllers:
|
2023-08-25 17:32:00 +02:00
|
|
|
# Persistence controller configuration
|
2023-02-02 10:55:24 +01:00
|
|
|
persistence:
|
|
|
|
enabled: true
|
|
|
|
stateFile: /var/lib/emissary/state.json
|
2023-08-25 17:32:00 +02:00
|
|
|
|
|
|
|
# Spec controller configuration
|
2023-02-02 10:55:24 +01:00
|
|
|
spec:
|
|
|
|
enabled: true
|
2023-08-25 17:32:00 +02:00
|
|
|
|
|
|
|
# Proxy controller configuration
|
2023-03-21 16:20:59 +01:00
|
|
|
proxy:
|
2023-02-02 10:55:24 +01:00
|
|
|
enabled: true
|
2023-08-25 17:32:00 +02:00
|
|
|
|
|
|
|
# UCI controller configuration
|
2023-02-02 10:55:24 +01:00
|
|
|
uci:
|
|
|
|
enabled: true
|
|
|
|
binPath: uci
|
|
|
|
configBackupFile: /var/lib/emissary/uci-backup.conf
|
2023-08-25 17:32:00 +02:00
|
|
|
|
|
|
|
# App controller configuration
|
2023-03-21 16:20:59 +01:00
|
|
|
app:
|
|
|
|
enabled: true
|
|
|
|
dataDir: /var/lib/emissary/apps/data
|
|
|
|
downloadDir: /var/lib/emissary/apps/bundles
|
2023-08-25 17:32:00 +02:00
|
|
|
|
|
|
|
# Sysupgrade controller configuration
|
2023-03-27 16:25:35 +02:00
|
|
|
sysupgrade:
|
|
|
|
enabled: true
|
|
|
|
sysupgradeCommand:
|
|
|
|
- sysupgrade
|
|
|
|
- -u
|
|
|
|
- -v
|
2024-01-11 14:31:48 +01:00
|
|
|
- --ignore-minor-compat-version
|
2023-03-27 16:25:35 +02:00
|
|
|
- '%FIRMWARE%'
|
|
|
|
firmwareVersionCommand:
|
|
|
|
- sh
|
|
|
|
- -c
|
|
|
|
- source /etc/openwrt_release && echo "$DISTRIB_ID-$DISTRIB_RELEASE-$DISTRIB_REVISION"
|
2023-08-25 17:32:00 +02:00
|
|
|
|
|
|
|
# Collectors configuration
|
2023-03-02 17:22:05 +01:00
|
|
|
collectors:
|
|
|
|
- name: uname
|
|
|
|
command: uname
|
|
|
|
args:
|
|
|
|
- -a
|