mcapi_proxy: allow overriding of systemd service environment
Various configuration options for this service are set using environment variables, including: POD_IP, PROXY_BIND, PROXY_PORT. This patch exposes a variable which can be used to set these via the systemd service unit. Change-Id: I5f649c3894c63e13649f8f12d4dd839b22ba6cfc
This commit is contained in:
parent
818df7b1a8
commit
ec11f51a72
@ -99,3 +99,4 @@
|
|||||||
execstarts:
|
execstarts:
|
||||||
- "{{ _bin ~ '/magnum-cluster-api-proxy' }}"
|
- "{{ _bin ~ '/magnum-cluster-api-proxy' }}"
|
||||||
start_order: 1
|
start_order: 1
|
||||||
|
environment: "{{ magnum_cluster_api_proxy_environment | default({}) }}"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user