Skip to content

Commit

Permalink
make container events belong to their container groups instead
Browse files Browse the repository at this point in the history
  • Loading branch information
Ari Zellner committed Dec 3, 2017
1 parent ba077e2 commit da50cfe
Show file tree
Hide file tree
Showing 8 changed files with 44 additions and 28 deletions.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,11 @@ version: 1.0
object:
attributes:
display_name:
name: CONTAINER_FAILED
name: POD_CONTAINERCREATED
inherits:
description:
fields:
- rel4:
value: "/System/event_handlers/event_action_refresh?target=ems"
- rel5:
value: "/System/event_handlers/event_action_policy?target=container_group&policy_event=containergroup_containercreated&param="
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,11 @@ version: 1.0
object:
attributes:
display_name:
name: CONTAINER_CREATED
name: POD_CONTAINERFAILED
inherits:
description:
fields:
- rel4:
value: "/System/event_handlers/event_action_refresh?target=ems"
- rel5:
value: "/System/event_handlers/event_action_policy?target=container_group&policy_event=containergroup_containerfailed&param="
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,12 @@ version: 1.0
object:
attributes:
display_name:
name: CONTAINER_KILLING
name: POD_CONTAINERKILLING
inherits:
description:
fields:
- rel4:
value: "/System/event_handlers/event_action_refresh?target=ems"
- rel5:
value: "/System/event_handlers/event_action_policy?target=container_group&policy_event=containergroup_containerkilling&param="

Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,12 @@ version: 1.0
object:
attributes:
display_name:
name: CONTAINER_STARTED
name: POD_CONTAINERSTARTED
inherits:
description:
fields:
- rel4:
value: "/System/event_handlers/event_action_refresh?target=ems"
- rel5:
value: "/System/event_handlers/event_action_policy?target=container_group&policy_event=containergroup_containerstarted&param="

Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
---
object_type: instance
version: 1.0
object:
attributes:
display_name:
name: POD_CONTAINERSTOPPED
inherits:
description:
fields:
- rel4:
value: "/System/event_handlers/event_action_refresh?target=ems"
- rel5:
value: "/System/event_handlers/event_action_policy?target=container_group&policy_event=containergroup_containerstopped&param="

Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
---
object_type: instance
version: 1.0
object:
attributes:
display_name:
name: POD_CONTAINERUNHEALTHY
inherits:
description:
fields:
- rel4:
value: "/System/event_handlers/event_action_refresh?target=ems"
- rel5:
value: "/System/event_handlers/event_action_policy?target=container_group&policy_event=containergroup_containerunhealthy&param="

0 comments on commit da50cfe

Please sign in to comment.