From 9e135c71c10a673e7b13d4a827c01f3477c4cae8 Mon Sep 17 00:00:00 2001 From: Srivahni Date: Mon, 17 Jun 2019 16:12:01 -0700 Subject: [PATCH] Enable/disable components using values.yaml Issue-ID: ONAPARC-393 Signed-off-by: Srivahni Change-Id: I842fcae55600905bec9889c69b06eeac3cde71a2 --- vnfs/DAaaS/deploy/collection/requirements.yaml | 10 ++++++++++ vnfs/DAaaS/deploy/collection/values.yaml | 13 +++++++++++++ 2 files changed, 23 insertions(+) create mode 100644 vnfs/DAaaS/deploy/collection/requirements.yaml diff --git a/vnfs/DAaaS/deploy/collection/requirements.yaml b/vnfs/DAaaS/deploy/collection/requirements.yaml new file mode 100644 index 00000000..910063c3 --- /dev/null +++ b/vnfs/DAaaS/deploy/collection/requirements.yaml @@ -0,0 +1,10 @@ +dependencies: + + - name: cadvisor + condition: cadvisor.enabled + + - name: collectd + condition: collectd.enabled + + - name: prometheus-node-exporter + condition: prometheus-node-exporter.enabled diff --git a/vnfs/DAaaS/deploy/collection/values.yaml b/vnfs/DAaaS/deploy/collection/values.yaml index 7fd13869..d46f3861 100644 --- a/vnfs/DAaaS/deploy/collection/values.yaml +++ b/vnfs/DAaaS/deploy/collection/values.yaml @@ -26,3 +26,16 @@ global: ################################################################# # Collection Package Day-0 configuration defaults. ################################################################# + +################################################################# +# Enable or disable components +################################################################# + +cadvisor: + enabled: true + +collectd: + enabled: true + +prometheus-node-exporter: + enabled: true -- 2.16.6