aboutsummaryrefslogtreecommitdiffstats
path: root/vnfs/DAaaS/microservices/collectd-operator/deploy
diff options
context:
space:
mode:
authorDileep Ranganathan <dileep.ranganathan@intel.com>2019-06-26 13:26:54 -0700
committerDileep Ranganathan <dileep.ranganathan@intel.com>2019-06-26 14:50:34 -0700
commit5115ed306a8f52fa806cf7f11b47d76953abb3ff (patch)
tree2c3914644f43a64e5d015083ff57899e94755929 /vnfs/DAaaS/microservices/collectd-operator/deploy
parentf6ec999efa45f7fcd389c32013e792c8beb3c1d8 (diff)
Fixed Label selector for Collectd Operator
Fixed issue with hard-coded label selector Current solution expects the label selector to be passed from environment variable inside the operator container, else will use the default label selector. Added more robust error handling. Issue-ID: ONAPARC-461 Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com> Change-Id: Ic99042c4fb4770e47504bdecf960c6ea8619431e
Diffstat (limited to 'vnfs/DAaaS/microservices/collectd-operator/deploy')
-rw-r--r--vnfs/DAaaS/microservices/collectd-operator/deploy/operator.yaml4
1 files changed, 3 insertions, 1 deletions
diff --git a/vnfs/DAaaS/microservices/collectd-operator/deploy/operator.yaml b/vnfs/DAaaS/microservices/collectd-operator/deploy/operator.yaml
index b39543ec..a61d4a02 100644
--- a/vnfs/DAaaS/microservices/collectd-operator/deploy/operator.yaml
+++ b/vnfs/DAaaS/microservices/collectd-operator/deploy/operator.yaml
@@ -22,7 +22,9 @@ spec:
imagePullPolicy: Always
env:
- name: WATCH_NAMESPACE
- value: ""
+ value: "cop"
+ - name: WATCH_LABELS
+ value: "app=collectd"
- name: POD_NAME
valueFrom:
fieldRef: