Example configurable cap add
Change-Id: Ib34130c15324f197eca275f97c18f24f17d8ced2 (cherry picked from commita94ff466c8
) (cherry picked from commit65e827e5bf
) (cherry picked from commitcf53dbf19b
) (cherry picked from commitb2524af685
)
This commit is contained in:
parent
153dd67dbd
commit
6a459b2bc1
|
@ -367,6 +367,12 @@ parameters:
|
|||
type: boolean
|
||||
description: Set to true if collectd should run the libpodstats plugin
|
||||
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:
|
||||
amqp_connection:
|
||||
|
@ -685,7 +691,9 @@ outputs:
|
|||
restart: always
|
||||
mem_limit: 512m
|
||||
cap_add:
|
||||
- IPC_LOCK
|
||||
list_concat:
|
||||
- {get_param: CollectdContainerAdditionalCapAdd}
|
||||
- [IPC_LOCK]
|
||||
healthcheck:
|
||||
test: /openstack/healthcheck
|
||||
volumes:
|
||||
|
|
Loading…
Reference in New Issue