Revert "Revert "oran-shell-release: release image for F""
[pti/rtp.git] / meta-starlingx / meta-stx-flock / stx-openstack-armada-app / openstack-helm / 0001-Ceilometer-chart-add-the-ability-to-publish-events-t.patch
1 From 5302aa4e87694e96cc3dfc56ae494a1a8211cc37 Mon Sep 17 00:00:00 2001
2 From: Angie Wang <angie.wang@windriver.com>
3 Date: Wed, 6 Mar 2019 18:06:06 -0500
4 Subject: [PATCH 01] Ceilometer chart: add the ability to publish events to
5  panko
6
7 Ceilometer notification agent sends the events to panko via panko
8 dispatcher/publisher which requires the db connection information
9 in /etc/panko/panko.conf.
10 This commit updates to mount the configuration file for panko in
11 ceilometer notification pod.
12
13 Change-Id: I4ca524ed7462f945a245e9dbe1d69493dbc4211d
14 Story: 2005019
15 Task: 29498
16 Depends-On: https://review.openstack.org/#/c/641144/
17 Signed-off-by: Angie Wang <angie.wang@windriver.com>
18 (cherry picked from commit 507bc47f1447808c57c1c8aa82b0639543083656)
19 Signed-off-by: Robert Church <robert.church@windriver.com>
20 ---
21  ceilometer/values.yaml | 29 +++++++++++++++++++++++++++++
22  1 file changed, 29 insertions(+)
23
24 diff --git a/ceilometer/values.yaml b/ceilometer/values.yaml
25 index 44dda74..1343670 100644
26 --- a/ceilometer/values.yaml
27 +++ b/ceilometer/values.yaml
28 @@ -1706,6 +1706,8 @@ dependencies:
29            service: mongodb
30          - endpoint: internal
31            service: metric
32 +        - endpoint: internal
33 +          service: event
34      tests:
35        services:
36          - endpoint: internal
37 @@ -1827,6 +1829,21 @@ endpoints:
38        api:
39          default: 8041
40          public: 80
41 +  event:
42 +    name: panko
43 +    hosts:
44 +      default: panko-api
45 +      public: panko
46 +    host_fqdn_override:
47 +      default: null
48 +    path:
49 +      default: null
50 +    scheme:
51 +      default: 'http'
52 +    port:
53 +      api:
54 +        default: 8977
55 +        public: 80
56    alarming:
57      name: aodh
58      hosts:
59 @@ -1958,7 +1975,19 @@ pod:
60        init_container: null
61        ceilometer_notification:
62          volumeMounts:
63 +          - name: etcpanko
64 +            mountPath: /etc/panko
65 +          - name: panko-etc
66 +            mountPath: /etc/panko/panko.conf
67 +            subPath: panko.conf
68 +            readOnly: true
69          volumes:
70 +          - name: etcpanko
71 +            emptyDir: {}
72 +          - name: panko-etc
73 +            secret:
74 +              secretName: panko-etc
75 +              defaultMode: 0444
76      ceilometer_db_sync:
77        ceilometer_db_sync:
78          volumeMounts:
79 -- 
80 2.7.4
81