diff options
author | Dileep Ranganathan <dileep.ranganathan@intel.com> | 2019-05-28 15:02:54 -0700 |
---|---|---|
committer | Gary Wu <gwu@futurewei.com> | 2019-05-30 20:40:06 +0000 |
commit | 20d2faee7b9a36a50371854a3688b6421a70ebcb (patch) | |
tree | 0aaf24c7f69e1efe3190ddd146e3d26ce234c6b0 /vnfs/DAaaS/collectd-operator/Makefile | |
parent | d3d776d1260f6ba6dbaa483399ed8e2889d72a59 (diff) |
Collectd Operator API
Define spec for CollectdPlugin CRD.
Create CRD and sample CR for CollectdPlugin and autogenerated code.
Updated Makefile and deployment artifacts.
Issue-ID: ONAPARC-461
Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com>
Change-Id: I10bc198976b415efcfab01258342abbd2b4dfcc9
Diffstat (limited to 'vnfs/DAaaS/collectd-operator/Makefile')
-rw-r--r-- | vnfs/DAaaS/collectd-operator/Makefile | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/vnfs/DAaaS/collectd-operator/Makefile b/vnfs/DAaaS/collectd-operator/Makefile index 3471b9cc..2d9a4cf6 100644 --- a/vnfs/DAaaS/collectd-operator/Makefile +++ b/vnfs/DAaaS/collectd-operator/Makefile @@ -19,6 +19,8 @@ export GO111MODULE=on all: clean GOOS=linux GOARCH=amd64 + operator-sdk generate k8s --verbose + operator-sdk generate openapi --verbose #@go build -o ${COP} -gcflags all=-trimpath=${GOPATH} -asmflags all=-trimpath=${GOPATH} -mod=vendor demo/vnfs/DAaaS/collectd-operator/cmd/manager @operator-sdk build ${IMAGE_NAME} --verbose @@ -41,9 +43,6 @@ format: clean: @echo "Deleting the collectd-operator binary" @rm -rf ${PWD}/build/_output/bin/collectd-operator - if [ -x "${OUTDIR}" ]; then \ - rm -r ${OUTDIR}; \ - fi \ @echo "Deleting the collectd-operator docker image" @docker rmi ${IMAGE_NAME} |