Clean-up container name & add event definitions
Change-Id: I9ab5e8517abaf440ddc8a58beda6223a0c76fc32
This commit is contained in:
parent
7ab44ee132
commit
60de679237
@ -33,7 +33,7 @@ spec:
|
||||
{{ labels("ceilometer", "ceilometer") | indent(8) }}
|
||||
spec:
|
||||
containers:
|
||||
- name: ceilometer-notification-agent
|
||||
- name: agent
|
||||
image: vexxhost/ceilometer-agent-notification:latest
|
||||
volumeMounts:
|
||||
- name: ceilometer-config
|
||||
|
@ -22,6 +22,8 @@ stringData:
|
||||
ceilometer.conf: |
|
||||
[DEFAULT]
|
||||
transport_url = fake:/
|
||||
[event]
|
||||
definitions_cfg_file = /etc/ceilometer/event_definitions.yaml
|
||||
[notification]
|
||||
ack_on_event_error = false
|
||||
{% for transport in spec.get('transports', []) %}
|
||||
@ -43,3 +45,19 @@ stringData:
|
||||
- name: atmosphere
|
||||
publishers:
|
||||
- http://localhost:8080/v1/events
|
||||
event_definitions.yaml: |
|
||||
---
|
||||
- event_type: 'compute.instance.*'
|
||||
traits:
|
||||
resource_id:
|
||||
fields: payload.instance_id
|
||||
instance_type:
|
||||
fields: payload.instance_type
|
||||
state:
|
||||
fields: payload.state
|
||||
created_at:
|
||||
type: datetime
|
||||
fields: payload.created_at
|
||||
deleted_at:
|
||||
type: datetime
|
||||
fields: payload.deleted_at
|
||||
|
Loading…
Reference in New Issue
Block a user