diff options
author | Dileep Ranganathan <dileep.ranganathan@intel.com> | 2019-06-10 14:23:15 -0700 |
---|---|---|
committer | Dileep Ranganathan <dileep.ranganathan@intel.com> | 2019-06-12 21:18:47 -0700 |
commit | 9610eedd1351ede91d417412740b2560525a1fab (patch) | |
tree | d7932625cef5f51d593da52e15d8d55b203b5d61 /vnfs/DAaaS/microservices/collectd-operator/Makefile | |
parent | 45bd91a7c70bc7468fad598969a543420936fe0e (diff) |
Fix the Collectd operator panic issue
Fixed the panic issue as the daemonset was used instead of
DaemonsetList. Improved the logging to get data from configmap.
Filters used to query ConfigMap was wrong.
Issue-ID: OPTFRA-461
Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com>
Change-Id: I14807f7b254ccc0636b5cef6d58b4b6cc0c0e375
Diffstat (limited to 'vnfs/DAaaS/microservices/collectd-operator/Makefile')
-rw-r--r-- | vnfs/DAaaS/microservices/collectd-operator/Makefile | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/vnfs/DAaaS/microservices/collectd-operator/Makefile b/vnfs/DAaaS/microservices/collectd-operator/Makefile index 0b07b4b7..e3269b46 100644 --- a/vnfs/DAaaS/microservices/collectd-operator/Makefile +++ b/vnfs/DAaaS/microservices/collectd-operator/Makefile @@ -13,16 +13,16 @@ BUILD := $(shell git rev-parse --short HEAD) PROJECTNAME := $(shell basename "$(PWD)") GOPATH := $(shell realpath "$(PWD)/../../../../../../") -COP = ${PWD}/build/_output/bin/collectd-operator -IMAGE_NAME = dcr.cluster.local/collectd-operator:latest +COP := ${PWD}/build/_output/bin/collectd-operator +IMAGE_NAME := collectd-operator:latest export GOPATH ... export GO111MODULE=on .PHONY: clean plugins -## all: Generate the k8s and openapi artifacts using operator-sdk -all: clean vendor +## build: Generate the k8s and openapi artifacts using operator-sdk +build: clean vendor GOOS=linux GOARCH=amd64 operator-sdk generate k8s --verbose operator-sdk generate openapi --verbose @@ -33,8 +33,8 @@ all: clean vendor # no need to create a static binary with additional flags. However, for generating binary, additional build flags are necessary. This if used with # mock plugin errors out for unit tests. So the seperation avoids the error. -## build: clean the -build: clean test cover +## all: Delete the image, binary, complete build, test and run coverage +all: build test cover deploy: build publish vendor: @go mod vendor |