-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgatewayd_plugin.yaml
26 lines (24 loc) · 1.13 KB
/
gatewayd_plugin.yaml
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
# Plugin configuration file for GatewayD
# Possible values: "strict" (default) and "loose"
compatibilityPolicy: "strict"
metricsMergerPeriod: 5s
healthCheckPeriod: 5s
plugins:
# Plugin name
- name: plugin-template-python
# whether to enable or disable the plugin on the next run
enabled: True
# path to the plugin's binary file
localPath: poetry
# Pass cmdline args to the plugin
args: ["-C", "../plugin-template-python", "run", "python", "../plugin-template-python/main.py"]
# Pass environment variables to the plugin
# System-wide environment variables are passed to the plugin normally
# and they can be accessed via os.Environ().
# Defining any environment variables below will override system-wide environment variables.
env:
# The below environment variables are used by the plugin loader to verify the plugin's identity.
- MAGIC_COOKIE_KEY=GATEWAYD_PLUGIN
- MAGIC_COOKIE_VALUE=5712b87aa5d7e9f9e9ab643e6603181c5b796015cb1c09d6f5ada882bf2a1872
# Checksum hash to verify the binary before loading
checksum: dee4aa014a722e1865d91744a4fd310772152467d9c6ab4ba17fd9dd40d3f724