Example configurable cap add
Change-Id: Ib34130c15324f197eca275f97c18f24f17d8ced2
This commit is contained in:
parent
5670359777
commit
a94ff466c8
|
@ -280,7 +280,11 @@ parameters:
|
||||||
type: boolean
|
type: boolean
|
||||||
description: Set to true if collectd should run the libpodstats plugin
|
description: Set to true if collectd should run the libpodstats plugin
|
||||||
default: false
|
default: false
|
||||||
|
CollectdContainerAdditionalCapAdd:
|
||||||
|
type: comma_delimited_list
|
||||||
|
description: Additional container capabilities to add to the collectd container.
|
||||||
|
By default is appended to IPC_LOCK.
|
||||||
|
default: []
|
||||||
CollectdVars:
|
CollectdVars:
|
||||||
default: {}
|
default: {}
|
||||||
description: Hash of collectd variables used to configure the collectd role.
|
description: Hash of collectd variables used to configure the collectd role.
|
||||||
|
@ -391,7 +395,9 @@ outputs:
|
||||||
user: root
|
user: root
|
||||||
restart: always
|
restart: always
|
||||||
cap_add:
|
cap_add:
|
||||||
- IPC_LOCK
|
list_concat:
|
||||||
|
- {get_param: CollectdContainerAdditionalCapAdd}
|
||||||
|
- [IPC_LOCK]
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: /openstack/healthcheck
|
test: /openstack/healthcheck
|
||||||
volumes:
|
volumes:
|
||||||
|
|
|
@ -395,6 +395,12 @@ parameters:
|
||||||
type: boolean
|
type: boolean
|
||||||
description: Set to true if collectd should run the libpodstats plugin
|
description: Set to true if collectd should run the libpodstats plugin
|
||||||
default: false
|
default: false
|
||||||
|
CollectdContainerAdditionalCapAdd:
|
||||||
|
type: comma_delimited_list
|
||||||
|
description: Additional container capabilities to add to the collectd container.
|
||||||
|
By default is appended to IPC_LOCK.
|
||||||
|
default: []
|
||||||
|
|
||||||
|
|
||||||
conditions:
|
conditions:
|
||||||
amqp_connection:
|
amqp_connection:
|
||||||
|
@ -713,7 +719,9 @@ outputs:
|
||||||
restart: always
|
restart: always
|
||||||
mem_limit: 512m
|
mem_limit: 512m
|
||||||
cap_add:
|
cap_add:
|
||||||
- IPC_LOCK
|
list_concat:
|
||||||
|
- {get_param: CollectdContainerAdditionalCapAdd}
|
||||||
|
- [IPC_LOCK]
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: /openstack/healthcheck
|
test: /openstack/healthcheck
|
||||||
volumes:
|
volumes:
|
||||||
|
|
Loading…
Reference in New Issue